WebViewDeferredPermissionRequest
WebViewDeferredPermissionRequest
WebViewDeferredPermissionRequest
WebViewDeferredPermissionRequest
Class
Definition
public : sealed class WebViewDeferredPermissionRequest : IWebViewDeferredPermissionRequestpublic sealed class WebViewDeferredPermissionRequest : IWebViewDeferredPermissionRequestPublic NotInheritable Class WebViewDeferredPermissionRequest Implements IWebViewDeferredPermissionRequest// This API is not available in Javascript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
For more info, see the WebView.PermissionRequested event.
When a WebViewPermissionRequest is deferred, a WebViewDeferredPermissionRequest is created with the same Id and added to the DeferredPermissionRequests collection. When you are ready to act on the request, call the DeferredPermissionRequestById method and pass the Id of the deferred request. After you retrieve the request, you can call the Allow method to grant the request, or call the Deny method to deny the request.
Properties
Id Id Id Id
Gets the identifier for the permission request.
public : unsigned int Id { get; }public uint Id { get; }Public ReadOnly Property Id As uint// This API is not available in Javascript.
- Value
- unsigned int uint uint uint
The identifier for the permission request.
Remarks
When a WebViewPermissionRequest is deferred, a WebViewDeferredPermissionRequest is created with the same Id and added to the DeferredPermissionRequests collection. When you are ready to act on the request, call the DeferredPermissionRequestById method and pass the Id of the deferred request.
PermissionType PermissionType PermissionType PermissionType
Gets a value that indicates the type of permission that's requested.
public : WebViewPermissionType PermissionType { get; }public WebViewPermissionType PermissionType { get; }Public ReadOnly Property PermissionType As WebViewPermissionType// This API is not available in Javascript.
An enumeration value that indicates the type of permission requested.
Uri Uri Uri Uri
Gets the Uniform Resource Identifier (URI) of the content where the permission request originated.
public : Uri Uri { get; }public Uri Uri { get; }Public ReadOnly Property Uri As Uri// This API is not available in Javascript.
- Value
- Uri Uri Uri Uri
The Uniform Resource Identifier (URI) of the content where the permission request originated.