Jaa


SpatialEntityWatcherStatus Enum

Definition

Describes the state of a SpatialEntityWatcher object.

public enum class SpatialEntityWatcherStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class SpatialEntityWatcherStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum SpatialEntityWatcherStatus
var value = Windows.Perception.Spatial.SpatialEntityWatcherStatus.created
Public Enum SpatialEntityWatcherStatus
Inheritance
SpatialEntityWatcherStatus
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Fields

Name Value Description
Created 0

This is the initial state of a Watcher object. During this state clients can register event handlers.

Started 1

The watcher transitions to the Started state once Start is called. The watcher is enumerating the initial collection. Note that during this enumeration phase it is possible to receive Updated and Removed notifications but only to items that have already been Added.

EnumerationCompleted 2

The watcher has completed enumerating the initial collection. Items can still be added, updated or removed from the collection.

Stopping 3

The client has called Stop and the watcher is still in the process of stopping. Events may still be raised.

Stopped 4

The client has called Stop and the watcher has completed all outstanding events. No further events will be raised.

Aborted 5

The watcher has aborted operation. No subsequent events will be raised.

Remarks

Important

The SpatialEntityStore approach of synchronizing spatial anchors between devices is not currently supported. Consider using Azure Spatial Anchors instead.

Applies to