WebView.setMicrophoneCaptureState

Set the microphone 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
setMicrophoneCaptureState

Parameters

state webkit.types.MediaCaptureState

a #WebKitMediaCaptureState