DesktopPermissionGrant enum

Namespace Runic.Desktop · Runic.Desktop 0.7.0-preview.5

public enum DesktopPermissionGrant

Identifies sensitive presentation permissions that an application may explicitly grant.

Values

None

None = 0

Deny sensitive permissions.

MediaCapture

MediaCapture = 1

Allow camera and microphone capture for the presentation.

Remarks

WebView2, WebKitGTK and GTK 4 windows grant it only to the origin of the presented URL, never screen capture. WKWebView windows do not apply the grant; WebKit asks the user on macOS. An explicitly selected Chromium-based browser accepts capture for every origin it opens, and Firefox asks the user. A DesktopPresentationPolicy.EmbeddedThenBrowser fallback opens without the grant. DesktopHost.Validate reports each of these cases before the window opens.