set_microphone_capture_state


Description:

[ Version ( since = "2.34" ) ]
public void set_microphone_capture_state (MediaCaptureState state)

Set the microphone capture state of a WebView.

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

Parameters:

this

a WebView

state

a MediaCaptureState




2022 vala-language.org