LenzSDKConstant.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. //
  2. // LenzSDKConstant.h
  3. // LenzCameraNativeModuleForRN
  4. //
  5. // Created by 王昭威 on 2023/1/28.
  6. //
  7. #ifndef LenzSDKConstant_h
  8. #define LenzSDKConstant_h
  9. typedef enum SDKFlashModeIndex {
  10. SDK_FLASH_MODE_AUTO,
  11. SDK_FLASH_MODE_ON,
  12. SDK_FLASH_MODE_OFF,
  13. } SDKFlashModeIndex;
  14. typedef enum SDKCaptureModeIndex {
  15. /// 连拍
  16. SDK_CAPTURE_MODE_CONTINUOUS,
  17. /// 单拍
  18. SDK_CAPTURE_MODE_SINGLE,
  19. /// 视频
  20. SDK_CAPTURE_MODE_MOVIE,
  21. /// 全景
  22. SDK_CAPTURE_MODE_PANORAMA,
  23. /// 智能全景
  24. SDK_CAPTURE_MODE_INTELLEGENCE_PANORAMA,
  25. } SDKCaptureModeIndex;
  26. typedef enum SDKDataRetainedModeIndex{
  27. SDK_DATA_RETAINED_RETAIN,
  28. SDK_DATA_RETAINED_CLEAR,
  29. SDK_DATA_RETAINED_USER_CONFIRM,
  30. }SDKDataRetainedModeIndex;
  31. typedef enum SDKCameraPosition {
  32. SDK_CAMERA_PISITION_FRONT,
  33. SDK_CAMERA_PISITION_BACK,
  34. } SDKCameraPosition;
  35. typedef enum SDKCameraCapturedResourceIndex{
  36. SDKCameraCapturedResourceIndexPhoto = 1,
  37. SDKCameraCapturedResourceIndexMovie = 2,
  38. SDKCameraCapturedResourceIndexOthers = 3,
  39. }SDKCameraCapturedResourceIndex;
  40. typedef enum SDKVideoQuality{
  41. SDK_VIDEO_QUALITY_480,
  42. SDK_VIDEO_QUALITY_720,
  43. SDK_VIDEO_QUALITY_1080,
  44. SDK_VIDEO_QUALITY_2160,
  45. }SDKVideoQuality;
  46. extern const NSNotificationName LenzSDKNotificationDiskIsFull;
  47. extern const NSNotificationName CameraNotificationNotPermission;
  48. extern const NSNotificationName MicrophoneNotificationNotPermission;
  49. #endif /* LenzSDKConstant_h */