SpatialPerceptionAccessStatus
SpatialPerceptionAccessStatus
SpatialPerceptionAccessStatus
SpatialPerceptionAccessStatus
Enum
Definition
This enumeration describes an app's ability to see the user's surroundings in ways that require the spatialPerception capability. This includes use of either SpatialSurfaceObserver or SpatialAnchorTransferManager.
public : enum class SpatialPerceptionAccessStatuspublic enum SpatialPerceptionAccessStatusPublic Enum SpatialPerceptionAccessStatus// You can use this enum in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v2)
|
Fields
| Allowed Allowed Allowed Allowed | The user has allowed the app to use this spatial perception functionality. |
| DeniedBySystem DeniedBySystem DeniedBySystem DeniedBySystem | The system has denied the app use of this spatial perception functionality. |
| DeniedByUser DeniedByUser DeniedByUser DeniedByUser | The user has denied the app use of this spatial perception functionality. |
| Unspecified Unspecified Unspecified Unspecified | The user has not yet decided whether the app can use this spatial perception functionality. |
Remarks
To use those APIs, call the RequestAccessAsync method on the relevant type first.