JxrPlatformAdapter.AnchorEntity.State


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 functions

java-static JxrPlatformAdapter.AnchorEntity.State!
valueOf(name: String!)

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

java-static Array<JxrPlatformAdapter.AnchorEntity.State!>!

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

Enum Values

ANCHORED

val JxrPlatformAdapter.AnchorEntity.State.ANCHOREDJxrPlatformAdapter.AnchorEntity.State

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

val JxrPlatformAdapter.AnchorEntity.State.ERRORJxrPlatformAdapter.AnchorEntity.State

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

TIMED_OUT

val JxrPlatformAdapter.AnchorEntity.State.TIMED_OUTJxrPlatformAdapter.AnchorEntity.State

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

UNANCHORED

val JxrPlatformAdapter.AnchorEntity.State.UNANCHOREDJxrPlatformAdapter.AnchorEntity.State

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

Public functions

valueOf

Added in 1.0.0-alpha01
java-static fun valueOf(name: String!): JxrPlatformAdapter.AnchorEntity.State!

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
java-static fun values(): Array<JxrPlatformAdapter.AnchorEntity.State!>!

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
Array<JxrPlatformAdapter.AnchorEntity.State!>!

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