WebView.setMicrophoneCaptureState

void setMicrophoneCaptureState(webkit.types.MediaCaptureState state)

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.

Parameters

statea #WebKitMediaCaptureState