Class AnchorLocateCriteria

Declaration

struct winrt::Microsoft::Azure::SpatialAnchors::AnchorLocateCriteria

Description

Specifies a set of criteria for locating anchors.

Remarks

Within the object, properties are combined with the AND operator. For example, if identifiers and nearAnchor are specified, then the filter will look for anchors that are near the nearAnchor and have an identifier that matches any of those identifiers.

Properties

BypassCache

Whether locate should bypass the local cache of anchors.

bool BypassCache();
void BypassCache(bool const& value);

Identifiers

Cloud anchor identifiers to locate. If empty, any anchors can be located. Any anchors within this list will match this criteria.

com_array<hstring> Identifiers();
void Identifiers(array_view<hstring const> value);

NearAnchor

Filters anchors to locate to be close to a specific anchor.

winrt::Microsoft::Azure::SpatialAnchors::NearAnchorCriteria NearAnchor();
void NearAnchor(winrt::Microsoft::Azure::SpatialAnchors::NearAnchorCriteria const& value);

RequestedCategories

Categories of data that are requested.

AnchorDataCategory RequestedCategories();
void RequestedCategories(AnchorDataCategory const& value);

Strategy

Indicates the strategy by which anchors will be located.

LocateStrategy Strategy();
void Strategy(LocateStrategy const& value);