WearableButtons.ButtonInfo
class WearableButtons.ButtonInfo
Metadata for a specific button.
Summary
Public functions |
|
|---|---|
Int |
Gets the keycode this |
Int |
The location zone of the button (e.g. LOCATION_EAST) |
Float |
getX()The x coordinate of the button in screen coordinates. |
Float |
getY()The y coordinate of the button in screen coordinates. |
Public functions
getKeycode
Added in 1.0.0
fun getKeycode(): Int
Gets the keycode this ButtonInfo provides information for.
| Returns | |
|---|---|
Int |
The keycode this |
getLocationZone
Added in 1.0.0
fun getLocationZone(): Int
The location zone of the button (e.g. LOCATION_EAST)