12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- #import <React/RCTConvert.h>
-
- typedef NS_ENUM(NSInteger, RNPermission) {
- RNPermissionUnknown = 0,
- #if __has_include("RNPermissionHandlerBluetoothPeripheral.h")
- RNPermissionBluetoothPeripheral,
- #endif
- #if __has_include("RNPermissionHandlerCalendars.h")
- RNPermissionCalendars,
- #endif
- #if __has_include("RNPermissionHandlerCamera.h")
- RNPermissionCamera,
- #endif
- #if __has_include("RNPermissionHandlerContacts.h")
- RNPermissionContacts,
- #endif
- #if __has_include("RNPermissionHandlerFaceID.h")
- RNPermissionFaceID,
- #endif
- #if __has_include("RNPermissionHandlerLocationAlways.h")
- RNPermissionLocationAlways,
- #endif
- #if __has_include("RNPermissionHandlerLocationWhenInUse.h")
- RNPermissionLocationWhenInUse,
- #endif
- #if __has_include("RNPermissionHandlerMediaLibrary.h")
- RNPermissionMediaLibrary,
- #endif
- #if __has_include("RNPermissionHandlerMicrophone.h")
- RNPermissionMicrophone,
- #endif
- #if __has_include("RNPermissionHandlerMotion.h")
- RNPermissionMotion,
- #endif
- #if __has_include("RNPermissionHandlerNotifications.h")
- RNPermissionNotifications,
- #endif
- #if __has_include("RNPermissionHandlerPhotoLibrary.h")
- RNPermissionPhotoLibrary,
- #endif
- #if __has_include("RNPermissionHandlerReminders.h")
- RNPermissionReminders,
- #endif
- #if __has_include("RNPermissionHandlerSiri.h")
- RNPermissionSiri,
- #endif
- #if __has_include("RNPermissionHandlerSpeechRecognition.h")
- RNPermissionSpeechRecognition,
- #endif
- #if __has_include("RNPermissionHandlerStoreKit.h")
- RNPermissionStoreKit,
- #endif
- };
-
- @interface RCTConvert (RNPermission)
-
- @end
|