PermissionRefreshScheduler
class PermissionRefreshScheduler(currentAuthorizationStatusProvider: CurrentAuthorizationStatusProvider, authorizationStatusHandler: AuthorizationStatusHandler, coroutineScope: <Error class: unknown class>)
Convenience class for scheduling checks to changes in permission state.
Parameters
currentAuthorizationStatusProvider
The CurrentAuthorizationStatusProvider used for getting the IOSPermissionsHelper.AuthorizationStatus of the permission.
authorizationStatusHandler
AuthorizationStatusHandler that is notified when changes to a permission occurs.
coroutineScope
The CoroutineScope on which to run the checks.
Constructors
Link copied to clipboard
constructor(currentAuthorizationStatusProvider: CurrentAuthorizationStatusProvider, authorizationStatusHandler: AuthorizationStatusHandler, coroutineScope: <Error class: unknown class>)
Functions
Link copied to clipboard
Starts monitoring for changes to the IOSPermissionsHelper.AuthorizationStatus
Link copied to clipboard
Stops monitoring for changes to the IOSPermissionsHelper.AuthorizationStatus.