12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- //
- // RCTConvert+RNPStatus
- // ReactNativePermissions
- //
- // Created by Yonah Forst on 23/03/16.
- // Copyright © 2016 Yonah Forst. All rights reserved.
- //
-
- #if __has_include(<React/RCTConvert.h>)
- #import <React/RCTConvert.h>
- #elif __has_include("React/RCTConvert.h")
- #import "React/RCTConvert.h"
- #else
- #import "RCTConvert.h"
- #endif
-
- static NSString* RNPStatusUndetermined = @"undetermined";
- static NSString* RNPStatusDenied = @"denied";
- static NSString* RNPStatusAuthorized = @"authorized";
- static NSString* RNPStatusRestricted = @"restricted";
-
-
- typedef NS_ENUM(NSInteger, RNPType) {
- RNPTypeUnknown,
- RNPTypeLocation,
- RNPTypeCamera,
- RNPTypeMicrophone,
- RNPTypePhoto,
- RNPTypeContacts,
- RNPTypeEvent,
- RNPTypeReminder,
- RNPTypeBluetooth,
- RNPTypeNotification,
- RNPTypeBackgroundRefresh,
- RNPTypeSpeechRecognition,
- RNPTypeMediaLibrary,
- RNPTypeMotion
- };
-
- @interface RCTConvert (RNPStatus)
-
- @end
|