AnchorSpace.State


public final class AnchorSpace.State


Summary

Public fields

static final @NonNull AnchorSpace.State

An AnchorSpace in the ANCHORED state is being actively tracked and updated by the perception stack.

static final @NonNull AnchorSpace.State

An AnchorSpace in the ERROR state indicates that an unexpected error has occurred and this AnchorSpace is invalid, without the possibility of recovery.

static final @NonNull AnchorSpace.State

An AnchorSpace in the TIMED_OUT state indicates that the perception system timed out while searching for an underlying anchorable position in the real world.

static final @NonNull AnchorSpace.State

An AnchorSpace in the UNANCHORED state does not currently have a real-world pose that is being actively updated.

Public methods

@NonNull String

Public fields

ANCHORED

public static final @NonNull AnchorSpace.State ANCHORED

An AnchorSpace in the ANCHORED state is being actively tracked and updated by the perception stack. Children of the AnchorSpace will maintain their relative positioning to the system's best understanding of a pose in the real world.

ERROR

public static final @NonNull AnchorSpace.State ERROR

An AnchorSpace in the ERROR state indicates that an unexpected error has occurred and this AnchorSpace is invalid, without the possibility of recovery. Logcat may include additional information about the error.

TIMED_OUT

public static final @NonNull AnchorSpace.State TIMED_OUT

An AnchorSpace in the TIMED_OUT state indicates that the perception system timed out while searching for an underlying anchorable position in the real world. The AnchorSpace cannot recover from this state.

UNANCHORED

public static final @NonNull AnchorSpace.State UNANCHORED

An AnchorSpace in the UNANCHORED state does not currently have a real-world pose that is being actively updated. This is the default state while searching for an anchorable position, and can also occur if the perception system has lost tracking of the real-world location.

Public methods

toString

public @NonNull String toString()