FakeRuntimeHand


class FakeRuntimeHand


Test-only implementation of androidx.xr.arcore.internal.Hand.

Summary

Public constructors

FakeRuntimeHand(
    trackingState: TrackingState,
    handJointsBuffer: FloatBuffer
)

Public properties

open FloatBuffer

The value describing the data of the hand, including trackingState and handJoints' poses.

open TrackingState

The current TrackingState of the hand's data.

Public constructors

FakeRuntimeHand

Added in 1.0.0-alpha06
FakeRuntimeHand(
    trackingState: TrackingState = TrackingState.PAUSED,
    handJointsBuffer: FloatBuffer = ByteBuffer.allocate(0).asFloatBuffer()
)

Public properties

handJointsBuffer

Added in 1.0.0-alpha06
open var handJointsBufferFloatBuffer

The value describing the data of the hand, including trackingState and handJoints' poses.

trackingState

Added in 1.0.0-alpha06
open var trackingStateTrackingState

The current TrackingState of the hand's data.