XRPermissionDescriptor

Overview

User permissions in the WebXR Device API are managed using the Permissions API. To that end, the XRPermissionDescriptor dictionary is used to describe the WebXR features the app needs to use, as well as those features it would like ot use if permision is granted.

Location

Properties


mode

 

property mode: String read write;

 

String mode { get; set; }

 

var mode: String { get{} set{} }

 

String mode { __get; __set; }

 

Property mode() As String

optionalFeatures

 

property optionalFeatures: String read write;

 

String optionalFeatures { get; set; }

 

var optionalFeatures: String { get{} set{} }

 

String optionalFeatures { __get; __set; }

 

Property optionalFeatures() As String

requiredFeatures

 

property requiredFeatures: array of String read write;

 

String[] requiredFeatures { get; set; }

 

var requiredFeatures: String... { get{} set{} }

 

String[] requiredFeatures { __get; __set; }

 

Property requiredFeatures() As String()