AnchorEntity.State


public final class AnchorEntity.State


Summary

Public fields

static final @NonNull AnchorEntity.State

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

static final @NonNull AnchorEntity.State

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 @NonNull AnchorEntity.State

An AnchorEntity 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 AnchorEntity.State

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

Public fields

ANCHORED

public static final @NonNull AnchorEntity.State ANCHORED

An AnchorEntity in the ANCHORED state 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

public static final @NonNull AnchorEntity.State ERROR

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.

TIMED_OUT

public static final @NonNull AnchorEntity.State TIMED_OUT

An AnchorEntity in the TIMED_OUT 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

public static final @NonNull AnchorEntity.State UNANCHORED

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.