Anchor.State


class Anchor.State : Trackable.State


The representation of the current state of an Anchor.

Summary

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Returns a string representation of Anchor.State for debugging.

Public properties

Pose

the location of the anchor in the world coordinate space

open TrackingState

the current androidx.xr.arcore.TrackingState of the anchor

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Returns a string representation of Anchor.State for debugging.

Note: Not intended for production use.

Public properties

pose

Added in 1.0.0-beta02
val posePose

the location of the anchor in the world coordinate space

trackingState

open val trackingStateTrackingState

the current androidx.xr.arcore.TrackingState of the anchor