HandTester


public final class HandTester


Tests simulated hand in unit tests.

Summary

Public methods

final @NonNull Map<@NonNull HandJointType, @NonNull Pose>

a Map of HandJointType to that joint's Pose

final boolean

whether the hand is currently in view of the runtime

final void

a Map of HandJointType to that joint's Pose

final void
setVisible(boolean value)

whether the hand is currently in view of the runtime

Public methods

getHandJointMap

Added in 1.0.0
public final @NonNull Map<@NonNull HandJointType, @NonNull Pose> getHandJointMap()

a Map of HandJointType to that joint's Pose

isVisible

Added in 1.0.0
public final boolean isVisible()

whether the hand is currently in view of the runtime

setHandJointMap

Added in 1.0.0
public final void setHandJointMap(@NonNull Map<@NonNull HandJointType, @NonNull Pose> value)

a Map of HandJointType to that joint's Pose

setVisible

Added in 1.0.0
public final void setVisible(boolean value)

whether the hand is currently in view of the runtime