AnchorEntity.State


public static class AnchorEntity.State


Summary

Constants

static final int

An AnchorEntity in the ANCHORED stated is being actively tracked and updated by the perception stack.

static final int
ERROR = 3

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

static final int

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

static final int

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

Public fields

static @NonNull AnchorEntity.State

Constants

ANCHORED

Added in 1.0.0-alpha05
public static final int ANCHORED = 0

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

ERROR

Added in 1.0.0-alpha05
public static final int ERROR = 3

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

TIMEDOUT

Added in 1.0.0-alpha05
public static final int TIMEDOUT = 2

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

UNANCHORED

Added in 1.0.0-alpha05
public static final int UNANCHORED = 1

An AnchorEntity 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 fields

INSTANCE

Added in 1.0.0-alpha05
public static @NonNull AnchorEntity.State INSTANCE