getMicrophoneCaptureState method

Future<MediaCaptureState?> getMicrophoneCaptureState()

Returns a MediaCaptureState that indicates whether the webpage is using the microphone to capture audio.

Officially Supported Platforms/Implementations:

Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.

Implementation

Future<MediaCaptureState?> getMicrophoneCaptureState() =>
    platform.getMicrophoneCaptureState();