WebView.getDisplayCaptureState

webkit.types.MediaCaptureState getDisplayCaptureState()

Get the display capture state of a #WebKitWebView.

Returns

The #WebKitMediaCaptureState of the display device. If #WebKitSettings:enable-mediastream

is false, this method will return [webkit.types.MediaCaptureState.None].