PermissionRefreshScheduler

class PermissionRefreshScheduler(currentAuthorizationStatusProvider: CurrentAuthorizationStatusProvider, authorizationStatusHandler: AuthorizationStatusHandler, coroutineScope: <Error class: unknown class>)

Convenience class for scheduling checks to changes in permission state.

Parameters

currentAuthorizationStatusProvider
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
fun startMonitoring(interval: <Error class: unknown class>)

Starts monitoring for changes to the IOSPermissionsHelper.AuthorizationStatus

Link copied to clipboard

Stops monitoring for changes to the IOSPermissionsHelper.AuthorizationStatus.