DeferredPermissionRequest object

Represents a deferred request by the content of the webview for end-user permission to access specialized device functionality (such as geolocation, or pointer lock).

Methods

allow

Allows the request for permission.

deferredPermissionRequest.allow();

Parameters

This method has no parameters.

Return value

This method does not return a value.

deny

Denies the request for permission.

deferredPermissionRequest.deny();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Properties

id

The ID of the permission being requested.

This property is read-only.

var id = deferredPermissionRequest.id;
Property value

Type: Unsigned long

The ID of the permission being requested.

type

The type of permission being requested.

This property is read-only.

var type = deferredPermissionRequest.type;

Property value

Type: String

uri

The Uniform Resource Identifier (URI) of the permission being requested.

This property is read-only.

var uri = deferredPermissionRequest.uri;
Property value

Type: String

Requirements

Minimum supported client Windows 10 [Windows Store apps only]
Minimum supported server Not supported
Minimum supported phone Not supported