DefaultAuthorizationStatusHandler

class DefaultAuthorizationStatusHandler(eventChannel: <Error class: unknown class><<Error class: unknown class>>, logTag: String, logger: <Error class: unknown class>) : AuthorizationStatusHandler

Default implementation of AuthorizationStatusHandler. Maps AuthorizationStatus to a PermissionManager.Event and sends this to a channel

Parameters

eventChannel

the SendChannel that should emit the PermissionManager.Event

logTag

the tag wto use for logging

logger

the Logger to use for logging

Constructors

Link copied to clipboard
constructor(eventChannel: <Error class: unknown class><<Error class: unknown class>>, logTag: String, logger: <Error class: unknown class>)

Functions

Link copied to clipboard
fun AuthorizationStatusHandler.requestAuthorizationStatus(timerHelper: PermissionRefreshScheduler? = null, coroutineScope: <Error class: unknown class>, request: suspend () -> IOSPermissionsHelper.AuthorizationStatus)

Pauses a PermissionRefreshScheduler while requesting an AuthorizationStatus and calls AuthorizationStatusHandler.status once the request has been completed.

Link copied to clipboard