DefaultStoragePermissionManager

The BasePermissionManager to use as a default for StoragePermission

Parameters

context

the Context the StoragePermission is to be granted in

storagePermission

the StoragePermission to manage

settings

the Settings to apply to this manager.

coroutineScope

the CoroutineScope of this manager.

The BasePermissionManager to use as a default for StoragePermission

Parameters

storagePermission

the StoragePermission to manage

settings

the Settings to apply to this manager.

coroutineScope

the CoroutineScope of this manager.

bundle

the NSBundle the StoragePermission is to be granted in

Constructors

Link copied to clipboard
constructor(context: Context, storagePermission: StoragePermission, settings: BasePermissionManager.Settings, coroutineScope: CoroutineScope)
constructor(bundle: NSBundle, storagePermission: StoragePermission, settings: BasePermissionManager.Settings, coroutineScope: CoroutineScope)

Properties

Link copied to clipboard
Link copied to clipboard
open override val events: Flow<PermissionManager.Event>
open override val events: Flow<PermissionManager.Event>
open override val events: Flow<PermissionManager.Event>
Link copied to clipboard
expect override val permission: StoragePermission

Functions

Link copied to clipboard
override fun requestPermission()
override fun requestPermission()
override fun requestPermission()
Link copied to clipboard
override fun startMonitoring(interval: Duration)
override fun startMonitoring(interval: Duration)
override fun startMonitoring(interval: Duration)
Link copied to clipboard
override fun stopMonitoring()
override fun stopMonitoring()
override fun stopMonitoring()