JxrPlatformAdapter.AnchorEntity.State


public enum JxrPlatformAdapter.AnchorEntity.State


Specifies the current tracking state of the Anchor.

Summary

Enum Values

ANCHORED

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

ERROR

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

TIMED_OUT

The AnchorEntity timed out while searching for an underlying anchor.

UNANCHORED

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

Public methods

static JxrPlatformAdapter.AnchorEntity.State

Returns the enum constant of this type with the specified name.

static JxrPlatformAdapter.AnchorEntity.State[]

Returns an array containing the constants of this enum type, in the order they're declared.

Enum Values

ANCHORED

JxrPlatformAdapter.AnchorEntity.State JxrPlatformAdapter.AnchorEntity.State.ANCHORED

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

JxrPlatformAdapter.AnchorEntity.State JxrPlatformAdapter.AnchorEntity.State.ERROR

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

TIMED_OUT

JxrPlatformAdapter.AnchorEntity.State JxrPlatformAdapter.AnchorEntity.State.TIMED_OUT

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

UNANCHORED

JxrPlatformAdapter.AnchorEntity.State JxrPlatformAdapter.AnchorEntity.State.UNANCHORED

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

Public methods

valueOf

Added in 1.0.0-alpha01
public static JxrPlatformAdapter.AnchorEntity.State valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns
JxrPlatformAdapter.AnchorEntity.State

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

Added in 1.0.0-alpha01
public static JxrPlatformAdapter.AnchorEntity.State[] values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Returns
JxrPlatformAdapter.AnchorEntity.State[]

an array containing the constants of this enum type, in the order they're declared