requestAuthorizationStatus

fun AuthorizationStatusHandler.requestAuthorizationStatus(timerHelper: PermissionRefreshScheduler? = null, coroutineScope: CoroutineScope, request: suspend () -> ApplePermissionsHelper.AuthorizationStatus)

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

Parameters

timerHelper
coroutineScope

the CoroutineScope on which to request the AuthorizationStatus

request

the method for requesting the AuthorizationStatus