WebView.setCameraCaptureState

Set the camera capture state of a #WebKitWebView.

If #WebKitSettings:enable-mediastream is false, this method will have no visible effect. Once the state of the device has been set to webkit.types.MediaCaptureState.None it cannot be changed anymore. The page can however request capture again using the mediaDevices API.

class WebView
void
setCameraCaptureState

Parameters

state webkit.types.MediaCaptureState

a #WebKitMediaCaptureState