AnchorEntity.State


public static class AnchorEntity.State


Summary

Constants

static final int

The ANCHORED state means that this Anchor is being actively tracked and updated by the perception stack.

static final int
ERROR = 3

The ERROR state means that something has gone wrong and this AnchorEntity is invalid without the possibility of recovery.

static final int

The PERMISSIONS_NOT_GRANTED state means that the user has not granted the necessary permissions i.e. SCENE_UNDERSTANDING to create this AnchorEntity.

static final int

The AnchorEntity timed out while searching for an underlying anchor.

static final int

An UNANCHORED state could mean that the perception stack hasn't found an anchor for this Space, that it has lost tracking.

Public fields

static @NonNull AnchorEntity.State

Constants

ANCHORED

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

The ANCHORED state means that this Anchor is being actively tracked and updated by the perception stack. The application should expect children to maintain their relative positioning to the system's best understanding of a pose in the real world.

ERROR

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

The ERROR state means that something has gone wrong and this AnchorEntity is invalid without the possibility of recovery.

PERMISSIONS_NOT_GRANTED

Added in 1.0.0-alpha02
public static final int PERMISSIONS_NOT_GRANTED = 4

The PERMISSIONS_NOT_GRANTED state means that the user has not granted the necessary permissions i.e. SCENE_UNDERSTANDING to create this AnchorEntity.

TIMEDOUT

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

The AnchorEntity timed out while searching for an underlying anchor. This it is not possible to recover the AnchorEntity.

UNANCHORED

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

An UNANCHORED state could mean that the perception stack hasn't found an anchor for this Space, that it has lost tracking.

Public fields

INSTANCE

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