class Hand


Contains the tracking information of one of the user's hands.

Summary

Nested types

The representation of the current state of Hand.

Public companion functions

Hand?
left(session: Session)

Returns the Hand object that corresponds to the user's left hand when available, or null when the platform does not support the feature.

Hand?
right(session: Session)

Returns the Hand object that corresponds to the user's right hand when available, or null when the platform does not support the feature.

Public functions

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

Updates the state of the Updatable.

Public properties

StateFlow<Hand.State>

The current State of this hand.

Public companion functions

left

Added in 1.0.0-alpha02
fun left(session: Session): Hand?

Returns the Hand object that corresponds to the user's left hand when available, or null when the platform does not support the feature.

Parameters
session: Session

the currently active Session.

right

Added in 1.0.0-alpha02
fun right(session: Session): Hand?

Returns the Hand object that corresponds to the user's right hand when available, or null when the platform does not support the feature.

Parameters
session: Session

the currently active Session.

Public functions

equals

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

hashCode

open fun hashCode(): Int

update

Added in 1.0.0-alpha02
open suspend fun update(): Unit

Updates the state of the Updatable.

Public properties

state

Added in 1.0.0-alpha02
val stateStateFlow<Hand.State>

The current State of this hand.