getCameraCaptureState method

Future<MediaCaptureState?> getCameraCaptureState()

Returns a MediaCaptureState that indicates whether the webpage is using the camera to capture images or video.

Officially Supported Platforms/Implementations:

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

Implementation

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