StoragePermissionStateRepo

constructor(storagePermission: StoragePermission, builder: BaseStoragePermissionManagerBuilder, monitoringInterval: Duration = defaultMonitoringInterval, settings: BasePermissionManager.Settings = BasePermissionManager.Settings(), coroutineContext: CoroutineContext)

Parameters

storagePermission

the StoragePermission to manage

builder

The StoragePermissionManagerBuilder for creating the StoragePermissionManager associated with the permission

monitoringInterval

the Duration after which the system should poll for changes to the permission if automatic detection is impossible.

settings

the BasePermissionManager.Settings used by the StoragePermissionManager created by the builder

coroutineContext

The CoroutineContext to run the state machine on.