LaunchPermissionRequest

An API to ensure that the list of permissions is granted.

Usage

LaunchPermissionRequest(listOf(android.Manifest.RECORD_AUDIO, android.Manifest.CAMERA) {
     Granted {
         // All permissions granted
     }
     SomeGranted { granted, notGranted, showRationale ->
         // Some of the permissions were granted, you can check which ones.
     }
     NotGranted {
         // None of the permissions were granted.
     }
}

Parameters

permissions

the required permissions.

content

the composable content used to register the