RSDStandardPermissionType
public enum RSDStandardPermissionType : String, RSDPermissionType, Codable, CaseIterable
Standard permission types.
Note
This framework intentionally does not include any direct reference to Health Kit. First, including Health Kit in applications that do not use that SDK makes it confusing and difficult for researchers to set up the app. Second, the goal of this framework is to include a model that is platform-agnostic and can be used independently of the device. (syoung 11/1/7/2017)-
“Privacy - Camera Usage Description” Specifies the reason for your app to access the device’s camera.
Seealso
NSCameraUsageDescription
Declaration
Swift
case camera
-
“Privacy - Location When In Use Usage Description” Specifies the reason for your app to access the user’s location information while your app is in use.
Seealso
NSLocationWhenInUseUsageDescription
Declaration
Swift
case locationWhenInUse
-
“Privacy - Location Always Usage Description” Specifies the reason for your app to access the user’s location information at all times.
Seealso
NSLocationAlwaysUsageDescription
Declaration
Swift
case location
-
“Privacy - Microphone Usage Description” Specifies the reason for your app to access any of the device’s microphones.
Seealso
NSMicrophoneUsageDescription
Declaration
Swift
case microphone
-
“Privacy - Motion Usage Description” Specifies the reason for your app to access the device’s accelerometer.
Seealso
NSMotionUsageDescription
Declaration
Swift
case motion
-
“Privacy - Photo Library Usage Description” Specifies the reason for your app to access the user’s photo library.
Seealso
NSPhotoLibraryUsageDescription
Declaration
Swift
case photoLibrary
-
An identifier for the permission.
Declaration
Swift
public var identifier: String { get }
-
The mapped async action type for this permission.
Declaration
Swift
public var asyncActionType: RSDAsyncActionType { get }