Class AnchorLocatedEventArgs
Use this type to determine the status of an anchor after a locate operation.
class Microsoft::Azure::SpatialAnchors::AnchorLocatedEventArgs final : public std::enable_shared_from_this<Microsoft::Azure::SpatialAnchors::AnchorLocatedEventArgs>
Properties
Anchor
The cloud spatial anchor that was located.
auto Anchor() const -> std::shared_ptr<Microsoft::Azure::SpatialAnchors::CloudSpatialAnchor>;
Identifier
The spatial anchor that was located.
auto Identifier() const -> std::string;
Status
Specifies whether the anchor was located, or the reason why it may have failed.
auto Status() const -> Microsoft::Azure::SpatialAnchors::LocateAnchorStatus;
Strategy
Gets the LocateStrategy that reflects the strategy that was used to find the anchor. Valid only when the anchor was found.
auto Strategy() const -> Microsoft::Azure::SpatialAnchors::LocateStrategy;
Watcher
The watcher that located the anchor.
auto Watcher() const -> std::shared_ptr<Microsoft::Azure::SpatialAnchors::CloudSpatialAnchorWatcher>;