LaunchPermissionRequestScope
interface LaunchPermissionRequestScope
Scope for the LaunchPermissionRequest composable. Used to register the content callbacks for when the permissions are available or not.
Functions
Link copied to clipboard
Called after the request, when the user has granted all the requested permissions for this scope.
Link copied to clipboard
None of the permissions were granted.
Link copied to clipboard
abstract fun SomeGranted(content: @Composable (granted: List<String>, notGranted: List<String>, showRationale: Boolean) -> Unit)
Some permissions were granted, while others were not. Use the content parameters to decide what to do in certain cases if some permissions are optional to you.