WebViewPermissionType WebViewPermissionType WebViewPermissionType WebViewPermissionType Enum

Definition

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

public : enum class WebViewPermissionType
enum class winrt::Windows::UI::Xaml::Controls::WebViewPermissionType : int32_t
public enum WebViewPermissionType
Public Enum WebViewPermissionType
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 0

Permission is for geolocation.

ImmersiveView ImmersiveView ImmersiveView ImmersiveView 6

Permission is for immersive view (WebVR).

Media Media Media Media 2

Permission is for media.

PointerLock PointerLock PointerLock PointerLock 3

Permission is for pointer lock.

Screen Screen Screen Screen 5

Permission is for screen capture.

UnlimitedIndexedDBQuota UnlimitedIndexedDBQuota UnlimitedIndexedDBQuota UnlimitedIndexedDBQuota 1

Permission is for unlimited IndexedDB data storage.

WebNotifications WebNotifications WebNotifications WebNotifications 4

Permission is for web notifications.

Remarks

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

Version history

Version SDK version Value added
1511 10586 PointerLock
1607 14393 WebNotifications
1803 17134 ImmersiveView
1803 17134 Screen

See also