ContactsPermissionStateRepo
constructor(contactsPermission: ContactsPermission, builder: BaseContactsPermissionManagerBuilder, monitoringInterval: Duration = defaultMonitoringInterval, settings: BasePermissionManager.Settings = BasePermissionManager.Settings(), coroutineContext: CoroutineContext)
Parameters
contactsPermission
the ContactsPermission to manage.
builder
The ContactsPermissionManagerBuilder for creating the ContactsPermissionManager 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 ContactsPermissionManager created by the builder
coroutineContext
The CoroutineContext to run the state machine on.