audioPermissionGranted property

bool audioPermissionGranted
final

True iff the user has granted microphone access. Updated when the controller initialises and on XCameraController.refreshAudioPermission. Independent of enableAudio — a controller can request audio (enableAudio: true) without having permission, in which case recordings have no audio track and callers should surface a hint.

Implementation

final bool audioPermissionGranted;