WebViewControlPermissionType 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.
Defines constants the specify the type of permission requested in a IWebViewControl.
public enum class WebViewControlPermissionType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
enum class WebViewControlPermissionType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
public enum WebViewControlPermissionType
var value = Windows.Web.UI.WebViewControlPermissionType.geolocation
Public Enum WebViewControlPermissionType
- Inheritance
-
WebViewControlPermissionType
- Attributes
Windows requirements
Device family |
Windows 10, version 1803 (introduced in 10.0.17134.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v6.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. |
ImmersiveView | 6 | Permission is for the ImmersiveView. |
Remarks
This enumeration provides values for the WebViewPermissionRequest.PermissionType and WebViewDeferredPermissionRequest.PermissionType properties.
Version history
Windows version | SDK version | Value added |
---|---|---|
1809 | 17763 | ImmersiveView |