set_display_capture_state


Description:

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

Set the display 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