PermissionStateRepoBuilder

Interface that takes permission and coroutine contexts and creates BasePermissionStateRepo. Each platform registers PermissionStateRepoBuilder in PermissionsBuilder.registerPermissionStateRepoBuilder.

Parameters

P

the type of Permission represented by this permission state repo builder.

Functions

Link copied to clipboard
abstract fun create(permission: P, coroutineContext: CoroutineContext): BasePermissionStateRepo<P>

Creates a BasePermissionStateRepo associated with permission