rememberCallPermissionsState

fun rememberCallPermissionsState(call: Call, permissions: List<String> = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { mutableListOf( android.Manifest.permission.CAMERA, android.Manifest.permission.RECORD_AUDIO, android.Manifest.permission.BLUETOOTH_CONNECT, ) } else { mutableListOf( android.Manifest.permission.CAMERA, android.Manifest.permission.RECORD_AUDIO, ) }, onPermissionsResult: (Map<String, Boolean>) -> Unit? = null, onAllPermissionsGranted: suspend () -> Unit? = null): VideoPermissionsState

Remember call related Android permissions below:

  • android.Manifest.permission.CAMERA

  • android.Manifest.permission.RECORD_AUDIO

You can request those permissions by invoking launchPermissionRequest() method.