SpatialLocatability SpatialLocatability SpatialLocatability SpatialLocatability SpatialLocatability Enum

Definition

Indicates the lifecycle state of the device's spatial location system. This lets an app know whether it can reason about the device's orientation or its position in the user's surroundings.

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

OrientationOnly OrientationOnly OrientationOnly OrientationOnly OrientationOnly 1

The device is reporting its orientation, and has not been asked to report its position in the user's surroundings.

PositionalTrackingActivating PositionalTrackingActivating PositionalTrackingActivating PositionalTrackingActivating PositionalTrackingActivating 2

The device is reporting its orientation, and is preparing to locate its position in the user's surroundings.

PositionalTrackingActive PositionalTrackingActive PositionalTrackingActive PositionalTrackingActive PositionalTrackingActive 3

The device is reporting its orientation and position in the user's surroundings.

PositionalTrackingInhibited PositionalTrackingInhibited PositionalTrackingInhibited PositionalTrackingInhibited PositionalTrackingInhibited 4

The device is reporting its orientation, but cannot locate its position in the user's surroundings due to external factors, like lighting conditions.

Unavailable Unavailable Unavailable Unavailable Unavailable 0

The device's spatial location system is not available.