public interface AnchorHolder

Known direct subclasses
FakePerceptionManager

Test-only implementation of PerceptionManager used to validate state transitions.

FakeRuntimePlane

Test-only implementation of Plane


Object that holds Anchor instances.

Summary

Public methods

abstract void

Detaches the given Anchor from this trackable.

abstract void

Notifies the AnchorHolder that the given Anchor has been persisted.

Public methods

detachAnchor

Added in 1.0.0-alpha01
abstract void detachAnchor(@NonNull Anchor anchor)

Detaches the given Anchor from this trackable. Single Anchor instances rely on this function to remove themselves from the AnchorHolder.

persistAnchor

Added in 1.0.0-alpha01
abstract void persistAnchor(@NonNull Anchor anchor)

Notifies the AnchorHolder that the given Anchor has been persisted.