audioPermissionGranted static method
Whether the user has granted mic permission to the app. Static because the answer is global to the process — useful from UI that needs the status before any controller has been created (e.g. the camera page's "Tap to enable mic" banner).
Implementation
static Future<bool> audioPermissionGranted() =>
XCameraBackend.instance.audioPermissionGranted();