AirshipPermissionDelegate
@objc(UAAirshipPermissionDelegate)
public protocol AirshipPermissionDelegate
Permissions manager delegate. Allows for extending permission gathering.
-
checkPermissionStatus()
AsynchronousCalled when a permission needs to be checked.
Declaration
Swift
@objc @MainActor func checkPermissionStatus() async -> AirshipPermissionStatus
Return Value
the permission status.
-
requestPermission()
AsynchronousCalled when a permission should be requested.
Note
A permission might be already granted when this method is called.
Declaration
Swift
@objc @MainActor func requestPermission() async -> AirshipPermissionStatus
Return Value
the permission status.