WebViewPermissionType

May 17, 2019 ยท View on GitHub

-description

Defines constants the specify the type of permission requested in a WebView.

-enum-fields

-field Geolocation:0

Permission is for geolocation.

-field UnlimitedIndexedDBQuota:1

Permission is for unlimited IndexedDB data storage.

-field Media:2

Permission is for media.

-field PointerLock:3

Permission is for pointer lock.

-field WebNotifications:4

Permission is for web notifications.

-field Screen:5

Permission is for screen capture.

-field ImmersiveView:6

Permission is for immersive view (WebVR).

-remarks

This enumeration provides values for the WebViewPermissionRequest.PermissionType and WebViewDeferredPermissionRequest.PermissionType properties.

Version history

Windows versionSDK versionValue added
151110586PointerLock
160714393WebNotifications
180317134ImmersiveView
180317134Screen

-examples

-see-also

WebViewPermissionRequest.PermissionType, WebViewDeferredPermissionRequest.PermissionType