public final class FakeRuntimeHand


Test-only implementation of RuntimeHand.

Summary

Public constructors

FakeRuntimeHand(
    @NonNull TrackingState trackingState,
    @NonNull FloatBuffer handJointsBuffer
)

Public methods

@NonNull FloatBuffer

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

@NonNull TrackingState

The current TrackingState of the hand's data.

void

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

void

The current TrackingState of the hand's data.

Public constructors

FakeRuntimeHand

Added in 1.0.0-alpha05
public FakeRuntimeHand(
    @NonNull TrackingState trackingState,
    @NonNull FloatBuffer handJointsBuffer
)

Public methods

getHandJointsBuffer

Added in 1.0.0-alpha05
public @NonNull FloatBuffer getHandJointsBuffer()

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

getTrackingState

Added in 1.0.0-alpha05
public @NonNull TrackingState getTrackingState()

The current TrackingState of the hand's data.

setHandJointsBuffer

Added in 1.0.0-alpha05
public void setHandJointsBuffer(@NonNull FloatBuffer handJointsBuffer)

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

setTrackingState

Added in 1.0.0-alpha05
public void setTrackingState(@NonNull TrackingState trackingState)

The current TrackingState of the hand's data.