CygnusReachPermissionRequest
class CygnusReachPermissionRequest(context: ComponentActivity) : Closeable
Content copied to clipboard
Manages Android activity/intent required to request multiple permissions. This class must be initialized in ComponentActivity.onCreate, then can be used to request Android permissions using requestPermissions.
Constructors
Functions
Link copied to clipboard
suspend fun requestPermissions(permissions: Array<String> = arrayOf(
Manifest.permission.CAMERA,
Manifest.permission.RECORD_AUDIO,
Manifest.permission.MODIFY_AUDIO_SETTINGS
)): Boolean
Content copied to clipboard
Request permissions. This function does not check if the permissions have already been granted before making the request.