API reference
API reference
Select your platform
No SDKs available
No versions available

Hand

Hand

enum Hand : Enum<Hand>
Represents the hand side in a spatial context.
This enum class is used to distinguish between the left and right hand, typically in applications involving spatial interactions or gestures.

Entries

NameSummary
LEFT

An Int value of zero (0) specifies the left hand
RIGHT

An Int value of one (1) specifies the right hand

Properties

NameSummary
name
val name: String
ordinal
val ordinal: Int
side
val side: Int

An integer representing the side of the hand, where 0 is LEFT and 1 is RIGHT.

Functions

NameSummary
valueOf
fun valueOf(value: String): Hand

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values
fun values(): Array<Hand>

Returns an array containing the constants of this enum type, in the order they’re declared.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon