WebView.setCameraCaptureState
void setCameraCaptureState(webkit.types.MediaCaptureState state)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.
Parameters
state | a #WebKitMediaCaptureState |