Class CloudSpatialAnchor
Use this class to represent an anchor in space that can be persisted in a CloudSpatialAnchorSession.
class Microsoft::Azure::SpatialAnchors::CloudSpatialAnchor final : public std::enable_shared_from_this<Microsoft::Azure::SpatialAnchors::CloudSpatialAnchor>
Properties
AppProperties
A dictionary of application-defined properties that is stored with the anchor.
auto AppProperties() const -> std::shared_ptr<IMap<std::string, std::string>>;
Expiration
The time the anchor will expire.
auto Expiration() const -> int64_t;
auto Expiration(int64_t value) -> void;
Identifier
The persistent identifier of this spatial anchor in the cloud service.
auto Identifier() const -> std::string;
LocalAnchor
The anchor in the local mixed reality system.
auto LocalAnchor() const -> ArAnchor*;
auto LocalAnchor(ArAnchor* const& value) -> void;
VersionTag
An opaque version tag that can be used for concurrency control.
auto VersionTag() const -> std::string;