Share via


IBinder.Publish Method

Definition

Publish all active space pins to the cloud.

public System.Threading.Tasks.Task<bool> Publish ();
abstract member Publish : unit -> System.Threading.Tasks.Task<bool>
Public Function Publish () As Task(Of Boolean)

Returns

True on success.

Remarks

Space pins which are previously published in this session, i.e. that have a binding to a cloud anchor, will have that cloud anchor deleted first, and a new binding created to the newly published cloud anchor. To be publishable, a SpacePin must have an ILocalPeg created from CreateLocalPeg(String, Pose). The SpacePinASA manages this automatically.

Applies to