SpatialPerceptionAccessStatus SpatialPerceptionAccessStatus SpatialPerceptionAccessStatus SpatialPerceptionAccessStatus SpatialPerceptionAccessStatus Enum


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 SpatialPerceptionAccessStatus
enum class winrt::Windows::Perception::Spatial::SpatialPerceptionAccessStatus : int32_t
public enum SpatialPerceptionAccessStatus
Public Enum SpatialPerceptionAccessStatus
var value = Windows.Perception.Spatial.SpatialPerceptionAccessStatus.allowed;

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)


Allowed Allowed Allowed Allowed Allowed 1

The user has allowed the app to use this spatial perception functionality.

DeniedBySystem DeniedBySystem DeniedBySystem DeniedBySystem DeniedBySystem 3

The system has denied the app use of this spatial perception functionality.

DeniedByUser DeniedByUser DeniedByUser DeniedByUser DeniedByUser 2

The user has denied the app use of this spatial perception functionality.

Unspecified Unspecified Unspecified Unspecified Unspecified 0

The user has not yet decided whether the app can use this spatial perception functionality.


To use those APIs, call the RequestAccessAsync method on the relevant type first.

See also