BluetoothPermissionStateRepo

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

Parameters

builder

The BluetoothPermissionManagerBuilder for creating the BluetoothPermissionManager 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 BluetoothPermissionManager created by the builder

coroutineContext

The CoroutineContext to run the state machine on.