SystemPermissionConstraint
public enum SystemPermissionConstraint : Hashable, CustomStringConvertible
Defines a system permission that conditional features can use as a constraint.
Note
Any associated values for permission variants must use Flint or foundation types because we cannot have permissions force dependency on any given framework.
See
Apple’s document on user privacy for details of authorisations available https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy
-
Undocumented
Declaration
Swift
case camera
-
Undocumented
Declaration
Swift
case photos
-
Undocumented
Declaration
Swift
case microphone
-
Undocumented
Declaration
Swift
case location(usage: LocationUsage)
-
Undocumented
Declaration
Swift
case contacts(entity: ContactsEntity)
-
Undocumented
Declaration
Swift
case calendarEvents
-
Undocumented
Declaration
Swift
case reminders
-
Undocumented
Declaration
Swift
case motion
-
Undocumented
Declaration
Swift
case speechRecognition
-
Undocumented
Declaration
Swift
case siriKit
-
Undocumented
Declaration
Swift
case bluetooth
-
Undocumented
Declaration
Swift
case mediaLibrary
-
Declaration
Swift
public var description: String { get }
-
Declaration
Swift
public var name: String { get }
-
Declaration
Swift
public var parametersDescription: String { get }