AnchorEntity.State


object AnchorEntity.State


Summary

Constants

const Int

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

const Int
ERROR = 3

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

const Int

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

const Int

The AnchorEntity timed out while searching for an underlying anchor.

const Int

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

Constants

ANCHORED

Added in 1.0.0-alpha02
const val ANCHORED = 0: Int

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
const val ERROR = 3: Int

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
const val PERMISSIONS_NOT_GRANTED = 4: Int

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
const val TIMEDOUT = 2: Int

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
const val UNANCHORED = 1: Int

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