Share via


CloudSpatialAnchorSession.CreateWatcher(AnchorLocateCriteria) Method

Definition

Creates a new object that watches for anchors that meet the specified criteria.

public:
 Microsoft::Azure::SpatialAnchors::CloudSpatialAnchorWatcher ^ CreateWatcher(Microsoft::Azure::SpatialAnchors::AnchorLocateCriteria ^ criteria);
public Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorWatcher CreateWatcher (Microsoft.Azure.SpatialAnchors.AnchorLocateCriteria criteria);
member this.CreateWatcher : Microsoft.Azure.SpatialAnchors.AnchorLocateCriteria -> Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorWatcher
Public Function CreateWatcher (criteria As AnchorLocateCriteria) As CloudSpatialAnchorWatcher

Parameters

criteria
AnchorLocateCriteria

Criteria for anchors to watch for.

Returns

Applies to