ButtonInfo
class ButtonInfo
kotlin.Any | |
↳ | androidx.wear.input.WearableButtons.ButtonInfo |
Metadata for a specific button.
Summary
Public methods | |
---|---|
Int |
Gets the keycode this |
Int |
The location zone of the button (e.g. LOC_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
fun getKeycode(): Int
Gets the keycode this ButtonInfo
provides information for.
Return | |
---|---|
Int |
The keycode this ButtonInfo provides information for |