CloudSpatialAnchor Class

Definition

Use this class to represent an anchor in space that can be persisted in a CloudSpatialAnchorSession.

public class CloudSpatialAnchor
Inheritance
java.lang.Object
CloudSpatialAnchor

Constructors

CloudSpatialAnchor()

Methods

finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

getAppProperties()

A dictionary of application-defined properties that is stored with the anchor.

getExpiration()

Gets the time the anchor will expire.

getIdentifier()

Gets the persistent identifier of this spatial anchor in the cloud service.

getLocalAnchor()

Gets the anchor in the local mixed reality system.

getVersionTag()

An opaque version tag that can be used for concurrency control.

setExpiration(Date value)

Sets the time the anchor will expire.

setLocalAnchor(Anchor value)

Sets the anchor in the local mixed reality system.