CalendarPermissionStateRepo

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

Parameters

calendarPermission

the CalendarPermission to manage.

builder

The CalendarPermissionManagerBuilder for creating the CalendarPermissionManager 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 CalendarPermissionManager created by the builder

coroutineContext

The CoroutineContext to run the state machine on.