WearableButtons.ButtonInfo
public final class WearableButtons.ButtonInfo
Metadata for a specific button.
Summary
Public methods |
|
|---|---|
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 methods
getKeycode
Added in 1.0.0
public int getKeycode()
Gets the keycode this ButtonInfo provides information for.
| Returns | |
|---|---|
int |
The keycode this |
getLocationZone
Added in 1.0.0
public int getLocationZone()
The location zone of the button (e.g. LOCATION_EAST)