WebView.getCameraCaptureState

webkit.types.MediaCaptureState getCameraCaptureState()

Get the camera capture state of a #WebKitWebView.

Returns

The #WebKitMediaCaptureState of the camera device. If #WebKitSettings:enable-mediastream

is false, this method will return [webkit.types.MediaCaptureState.None].