DefaultPermissionChecker
public class DefaultPermissionChecker : SystemPermissionChecker, CustomDebugStringConvertible
The implementation of the system permission checker.
This registers and verifies the approprite adapters and uses them to check the status of all the permissions required by a feature.
!!! TODO: Add sanity check for missing Info.plist usage descriptions?
-
Undocumented
Declaration
Swift
public weak var delegate: SystemPermissionCheckerDelegate?
-
Undocumented
Declaration
Swift
public init()
-
Declaration
Swift
public func isAuthorised(for permissions: Set<SystemPermissionConstraint>) -> Bool
-
Declaration
Swift
public func status(of permission: SystemPermissionConstraint) -> SystemPermissionStatus
-
Declaration
Swift
public func requestAuthorization(for permission: SystemPermissionConstraint, completion: @escaping (_ permission: SystemPermissionConstraint, _ status: SystemPermissionStatus) -> Void)
-
Declaration
Swift
public var debugDescription: String { get }