AndroidAudioPermissionManager

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun onRequestPermissionsResult(requestCode: Int, grantResults: IntArray)
Link copied to clipboard
Link copied to clipboard
open suspend override fun requestPermission()
Link copied to clipboard
open override fun requestRedirectToSettings()

Request to open the microphone permission settings on the platform.

Link copied to clipboard
suspend fun <T> withMicrophonePermission(block: suspend () -> T): T

Executes the block if the microphone permission is granted, otherwise throws an AudioPermissionDeniedException.