requestAudioPermission static method

Future<bool> requestAudioPermission()

Banner-tap entry point that shows the in-app system mic prompt when the OS still will, and deep-links to Settings on permanent denial. Returns the post-call granted state. Prefer this over jumping straight to openSystemSettings — on a fresh install the mic entry isn't even in the Privacy pane until the first request has been made.

Implementation

static Future<bool> requestAudioPermission() =>
    XCameraBackend.instance.requestAudioPermission();