Skip to content

wv2PermissionKind

Identifies which device or browser capability a web page is asking permission to use. Passed as the PermissionKind argument of the PermissionRequested event. Mirrors the COREWEBVIEW2_PERMISSION_KIND enumeration in the Edge WebView2 runtime.

ConstantValueDescription
wv2UnknownPermission0Permission kind not recognised by the runtime.
wv2Microphone1Permission to capture audio from the user's microphone.
wv2Camera2Permission to capture video from the user's camera.
wv2Geolocation3Permission to read the device's geographic location.
wv2Notifications4Permission to show desktop notifications.
wv2Sensors5Permission to read motion, orientation, light, and similar sensors.
wv2ClipboardRead6Permission to read the system clipboard.

twinBASIC and LOGO copyright of "WaynePhillipsEA" author