JXHPhotoAlbumConfiguration.h 999 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // JXHPhotoAlbumConfiguration.h
  3. // 我的社保
  4. //
  5. // Created by shanp on 2020/9/15.
  6. //
  7. #ifndef JXHPhotoAlbumConfiguration_h
  8. #define JXHPhotoAlbumConfiguration_h
  9. //typedef void(^jxh_photoArrayBlock)(NSArray<UIImage *> *data);
  10. typedef NS_ENUM(NSInteger, JXHPhotoAlbumStatus) {
  11. JXHPhotoAlbumStatusNoStatus = 1,
  12. JXHPhotoAlbumStatusNormal,
  13. JXHPhotoAlbumStatusNoResource,
  14. JXHPhotoAlbumStatusNoAuthorization
  15. };
  16. typedef NS_ENUM(NSInteger, JXHPhotoAlbumResult) {
  17. JXHPhotoAlbumResultSuccess = 200,
  18. JXHPhotoAlbumResultNoResource,
  19. JXHPhotoAlbumResultCancel,
  20. JXHPhotoAlbumResultFailUnknow
  21. };
  22. typedef NS_ENUM(NSInteger, JXHPhotoQuality) {
  23. JXHPhotoQualityOrigin,
  24. JXHPhotoQualityThumbnail,
  25. JXHPhotoQualityPreview
  26. };
  27. typedef NS_ENUM(NSInteger, JXHImageContentMode) {
  28. JXHImageContentModeAspectFit = 0,
  29. JXHImageContentModeAspectFill = 1,
  30. JXHImageContentModeDefault = JXHImageContentModeAspectFit
  31. };
  32. #endif /* JXHPhotoAlbumConfiguration_h */