Share via


SpatialGraphPlacement.UnpersistStaticNodesAsync(String) Method

Definition

Releases platform resources associated with a placement previously persisted with the given name. Specifically, removes entries from the platform's SpatialAnchorStore associated with the placement's static nodes. Those static nodes may remain valid if they are actively being used or have been persisted under a different name for another placement, but will become eligable for the platform to reclaim when they are no longer in use. No exception will be thrown if there are no entries corresponding to the given name; the operation simply has no effect.

public static System.Threading.Tasks.Task UnpersistStaticNodesAsync (string name);
static member UnpersistStaticNodesAsync : string -> System.Threading.Tasks.Task
Public Shared Function UnpersistStaticNodesAsync (name As String) As Task

Parameters

name
String

The application-defined name which was previously used to persist a SpatialGraphPlacement.

Returns

Applies to