AnchorLocateCriteria Class

Definition

Specifies a set of criteria for locating anchors.

public ref class AnchorLocateCriteria
public class AnchorLocateCriteria
type AnchorLocateCriteria = class
Public Class AnchorLocateCriteria
Inheritance
AnchorLocateCriteria

Remarks

Within the object, the properties Identifiers, NearAnchor, and NearDevice help specify which anchors should be found. BypassCache and Strategy help specify how anchors should be found, while RequestedCategories helps specify the type of data requested. Identifiers, NearAnchor, and NearDevice properties work exclusive of each other, and only one of them should be provided. Properties for exactly ONE of either Identifiers, NearAnchor, or NearDevice is required. Providing none or more than one is prohibited. See "How-to" and "Concepts" pages for more information and examples.

Constructors

AnchorLocateCriteria()

Initializes a new AnchorLocateCriteria instance.

AnchorLocateCriteria(IntPtr, Boolean)

Properties

BypassCache

Whether locate should bypass the local cache of anchors.

Identifiers

Indicates the CloudSpatialAnchor identifiers to locate. Maximum limit of 35 anchors per watcher.

NearAnchor

Indicates that anchors to locate should be close to a specific anchor.

NearDevice

Indicates that anchors to locate should be close to the device.

RequestedCategories

Categories of data that are requested.

Strategy

Indicates the strategy by which anchors will be located.

Methods

ConvertCookieToHandle(UInt64)
ConvertHandleToCookie(IntPtr)
Finalize()

Applies to