DVSpatialAnchorStore class abstract interface

Where world anchor tokens are kept between launches, by anchor id.

Holds the OS's opaque token and never a pose. The Flutter store keeps them under xr.anchors.* in the shared window store.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

ids() → Future<List<String>>
Every anchor id a token is held for, so a withdrawal or an erasure can reach tokens no open scene names.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String id) → Future<String?>
remove(String id) → Future<void>
toString() → String
A string representation of this object.
inherited
write(String id, String token) → Future<void>
Stores token for id, or throws -- DVSpatialAnchorNotStored when the store declines on purpose. Never stores it some weaker way instead.

Operators

operator ==(Object other) → bool
The equality operator.
inherited