CloudSpatialAnchorSession.CreateAnchorAsync(CloudSpatialAnchor) Method

Definition

Creates a new persisted spatial anchor from the specified local anchor and string properties.

public:
 System::Threading::Tasks::Task ^ CreateAnchorAsync(Microsoft::Azure::SpatialAnchors::CloudSpatialAnchor ^ anchor);
public System.Threading.Tasks.Task CreateAnchorAsync (Microsoft.Azure.SpatialAnchors.CloudSpatialAnchor anchor);
member this.CreateAnchorAsync : Microsoft.Azure.SpatialAnchors.CloudSpatialAnchor -> System.Threading.Tasks.Task
Public Function CreateAnchorAsync (anchor As CloudSpatialAnchor) As Task

Parameters

anchor
CloudSpatialAnchor

Anchor to be persisted.

Returns

Applies to