WebViewPermissionType WebViewPermissionType WebViewPermissionType WebViewPermissionType Enum

Definition

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

public : enum class WebViewPermissionTypepublic enum WebViewPermissionTypePublic Enum WebViewPermissionType// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Geolocation Geolocation Geolocation Geolocation

Permission is for geolocation.

Media Media Media Media

Permission is for media.

PointerLock PointerLock PointerLock PointerLock

Permission is for pointer lock.

UnlimitedIndexedDBQuota UnlimitedIndexedDBQuota UnlimitedIndexedDBQuota UnlimitedIndexedDBQuota

Permission is for unlimited IndexedDB data storage.

WebNotifications WebNotifications WebNotifications WebNotifications

Permission is for web notifications.

Remarks

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

Permission type PointerLock is available starting in Windows 10, version 1511.

Permission type WebNotifications is available starting in Windows 10, version 1607.