request

suspend fun <P : Permission> Flow<PermissionState<out P>>.request(): Boolean

Requests a Permission on a Flow of PermissionState

Return

true if the permission was granted, false otherwise.

Parameters

P

the type of Permission associated with the PermissionState