Companion
object Companion
Functions
Link copied to clipboard
fun check(context: Context, permissions: Array<String>, rationale: String? = null, options: Permissions.Options? = null, handler: PermissionHandler)
Grants immediately — PermissionHandler.onGranted, on the calling thread, before this returns — when every one of permissions is already held. Otherwise asks for the missing ones through an activity of its own and reports the answer on handler from the main thread.