Enum XRPermissionState
Represents the state of any system permissions that a subsystem needs to be able to run on the current device.
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public enum XRPermissionState
Fields
| Name | Description |
|---|---|
| Granted | The subsystem requires permissions on this platform, and the required permissions are granted. The subsystem is able to run successfully. |
| NotGranted | A required permission is not granted, and the subsystem is unable to function. |
| NotRequired | The subsystem doesn't require any system permissions on this platform, and is able to run successfully. |
| RequestPending | The subsystem has requested required permissions on this platform, and is awaiting a system callback with the results of this request. |
| Unknown | The subsystem hasn't reported any information about required permissions. |