NotificationsPermissionStateRepo
constructor(notificationsPermission: NotificationsPermission, builder: BaseNotificationsPermissionManagerBuilder, monitoringInterval: Duration = defaultMonitoringInterval, settings: BasePermissionManager.Settings = BasePermissionManager.Settings(), coroutineContext: CoroutineContext)
Parameters
notificationsPermission
the NotificationsPermission to be managed
builder
The NotificationsPermissionManagerBuilder for creating the NotificationsPermissionManager 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 NotificationsPermissionManager created by the builder
coroutineContext
The CoroutineContext to run the state machine on.