Class ASACloudSpatialAnchor

Declaration

@interface ASACloudSpatialAnchor : NSObject;

Description

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

Methods

init

-(instancetype)init;

Properties

localAnchor

The anchor in the local mixed reality system.

@property (retain) ARAnchor * localAnchor;

expiration

The time the anchor will expire.

@property (copy) NSDate * expiration;

identifier

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

@property (retain, readonly) NSString * identifier;

appProperties

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

@property (copy) NSDictionary * appProperties;

versionTag

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

@property (retain, readonly) NSString * versionTag;