Class CloudSpatialAnchor

Declaration

struct winrt::Microsoft::Azure::SpatialAnchors::CloudSpatialAnchor

Description

Use this class to represent an anchor in space that can be persisted in a CloudSpatialAnchorSession.

Properties

AppProperties

A dictionary of application-defined properties that is stored with the anchor.

Windows::Foundation::Collections::IMap<hstring, hstring> AppProperties();

Expiration

The time the anchor will expire.

winrt::Windows::Foundation::DateTime Expiration();
void Expiration(winrt::Windows::Foundation::DateTime const& value);

Identifier

The persistent identifier of this spatial anchor in the cloud service.

hstring Identifier();

LocalAnchor

The anchor in the local mixed reality system.

Windows::Perception::Spatial::SpatialAnchor LocalAnchor();
void LocalAnchor(Windows::Perception::Spatial::SpatialAnchor const& value);

VersionTag

An opaque version tag that can be used for concurrency control.

hstring VersionTag();