PerceptionState


class PerceptionState


Represents the state of ARCore for Jetpack XR at an specific point in time.

Can be obtained from CoreState.perceptionState.

Summary

Public functions

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

Public properties

Hand?

the left hand, or null when not supported by the current platform.

Hand?

the right hand, or null when not supported by the current platform.

ComparableTimeMark

the time at which the state was computed.

Collection<Trackable<Trackable.State>>

the trackables that are currently being tracked.

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

leftHand

Added in 1.0.0-alpha02
val leftHandHand?

the left hand, or null when not supported by the current platform.

rightHand

Added in 1.0.0-alpha02
val rightHandHand?

the right hand, or null when not supported by the current platform.

timeMark

Added in 1.0.0-alpha02
val timeMarkComparableTimeMark

the time at which the state was computed.

trackables

Added in 1.0.0-alpha02
val trackablesCollection<Trackable<Trackable.State>>

the trackables that are currently being tracked.