Class AnchorLocatedEventArgs

Declaration

struct winrt::Microsoft::Azure::SpatialAnchors::AnchorLocatedEventArgs

Description

Use this type to determine the status of an anchor after a locate operation.

Properties

Anchor

The cloud spatial anchor that was located.

winrt::Microsoft::Azure::SpatialAnchors::CloudSpatialAnchor Anchor();

Identifier

The spatial anchor that was located.

hstring Identifier();

Status

Specifies whether the anchor was located, or the reason why it may have failed.

winrt::Microsoft::Azure::SpatialAnchors::LocateAnchorStatus Status();

Strategy

Gets the LocateStrategy that reflects the strategy that was used to find the anchor. Valid only when the anchor was found.

winrt::Microsoft::Azure::SpatialAnchors::LocateStrategy Strategy();

Watcher

The watcher that located the anchor.

winrt::Microsoft::Azure::SpatialAnchors::CloudSpatialAnchorWatcher Watcher();