WebViewPermissionType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum class WebViewPermissionType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class WebViewPermissionType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum WebViewPermissionType
Public Enum WebViewPermissionType
- Inheritance
-
WebViewPermissionType
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Fields
Name | Value | Description |
---|---|---|
Geolocation | 0 | Permission is for geolocation. |
UnlimitedIndexedDBQuota | 1 | Permission is for unlimited IndexedDB data storage. |
Media | 2 | Permission is for media. |
PointerLock | 3 | Permission is for pointer lock. |
WebNotifications | 4 | Permission is for web notifications. |
Screen | 5 | Permission is for screen capture. |
ImmersiveView | 6 | Permission is for immersive view (WebVR). |
Remarks
This enumeration provides values for the WebViewPermissionRequest.PermissionType and WebViewDeferredPermissionRequest.PermissionType properties.
Version history
Windows version | SDK version | Value added |
---|---|---|
1511 | 10586 | PointerLock |
1607 | 14393 | WebNotifications |
1803 | 17134 | ImmersiveView |
1803 | 17134 | Screen |