LenzSDKConstant.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. ///
  26. SDK_CAPTURE_MODE_UNKNOW,
  27. } SDKCaptureModeIndex;
  28. typedef enum SDKDataRetainedModeIndex{
  29. SDK_DATA_RETAINED_RETAIN,
  30. SDK_DATA_RETAINED_CLEAR,
  31. SDK_DATA_RETAINED_USER_CONFIRM,
  32. }SDKDataRetainedModeIndex;
  33. typedef enum SDKCameraPosition {
  34. SDK_CAMERA_PISITION_FRONT,
  35. SDK_CAMERA_PISITION_BACK,
  36. } SDKCameraPosition;
  37. typedef enum SDKCameraCapturedResourceIndex{
  38. SDKCameraCapturedResourceIndexPhoto = 1,
  39. SDKCameraCapturedResourceIndexMovie = 2,
  40. SDKCameraCapturedResourceIndexOthers = 3,
  41. }SDKCameraCapturedResourceIndex;
  42. typedef enum SDKVideoQuality{
  43. SDK_VIDEO_QUALITY_480,
  44. SDK_VIDEO_QUALITY_720,
  45. SDK_VIDEO_QUALITY_1080,
  46. SDK_VIDEO_QUALITY_2160,
  47. }SDKVideoQuality;
  48. extern const NSNotificationName LenzSDKNotificationDiskIsFull;
  49. extern const NSNotificationName CameraNotificationNotPermission;
  50. extern const NSNotificationName MicrophoneNotificationNotPermission;
  51. #endif /* LenzSDKConstant_h */