AVPermissionHelper

class AVPermissionHelper(bundle: <Error class: unknown class>, type: AVType, authorizationStatusHandler: AuthorizationStatusHandler, coroutineScope: <Error class: unknown class>)

A helper for managing the IOSPermissionsHelper.AuthorizationStatus of an AVType permission.

Parameters

bundle

the NSBundle for which the permission should be applied

type

the AVType of the permission to manage

authorizationStatusHandler

the AuthorizationStatusHandler to handle changes to the permission

coroutineScope

the CoroutineScope to manage monitoring the permission

Constructors

Link copied to clipboard
constructor(bundle: <Error class: unknown class>, type: AVType, authorizationStatusHandler: AuthorizationStatusHandler, coroutineScope: <Error class: unknown class>)

Functions

Link copied to clipboard

Attempts to request the AVType permission and updates the provided AuthorizationStatusHandler

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