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 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-alpha01
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-alpha01
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.

TIMEDOUT

Added in 1.0.0-alpha01
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-alpha01
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-alpha01
public static @NonNull AnchorEntity.State INSTANCE