ORKPermissionMask Constants Reference
| Declared in | ORKTypes.h |
|---|
ORKPermissionMask
You can use a permission mask to specify a set of permissions to acquire or that have been acquired for a task or step.
Definition
typedef NS_OPTIONS(NSInteger, ORKPermissionMask ) {
ORKPermissionNone = 0,
ORKPermissionCoreMotionActivity = ( 1 < < 1 ),
ORKPermissionCoreMotionAccelerometer = ( 1 < < 2 ),
ORKPermissionAudioRecording = ( 1 < < 3 ),
ORKPermissionCoreLocation = ( 1 < < 4 ),
ORKPermissionCamera = ( 1 < < 5 ),
};
Constants
ORKPermissionNone-
No permissions.
Declared In
ORKTypes.h. ORKPermissionCoreMotionActivity-
Access to CoreMotion activity is required.
Declared In
ORKTypes.h. ORKPermissionCoreMotionAccelerometer-
Access to CoreMotion accelerometer data.
Declared In
ORKTypes.h. ORKPermissionAudioRecording-
Access for audio recording.
Declared In
ORKTypes.h. ORKPermissionCoreLocation-
Access to location.
Declared In
ORKTypes.h. ORKPermissionCamera-
Access to camera.
Declared In
ORKTypes.h.
Declared In
ORKTypes.h