public final class InputEvent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
InputEvent.Builder |
Modifier and Type | Method and Description |
---|---|
static InputEvent.Builder |
builder() |
boolean |
equals(Object o) |
InputEventActionType |
getAction()
Get action
For this enum type, if a value unknown to the SDK is returned the UNKNOWN_TO_SDK_VERSION
enumeration value will be returned.
|
String |
getActionAsString()
Get the underlying String value for action.
|
String |
getColor()
The hexadecimal RGB values of the button LED at the time of the event.
|
String |
getFeature()
For gadgets with multiple features, this is the feature that the event represents.
|
String |
getGadgetId()
The identifier of the Echo Button in question.
|
String |
getTimestamp()
The event's original moment of occurrence, in ISO format.
|
int |
hashCode() |
String |
toString() |
public static InputEvent.Builder builder()
public String getGadgetId()
public String getTimestamp()
public InputEventActionType getAction()
public String getActionAsString()
public String getColor()
public String getFeature()
Copyright © 2023. All rights reserved.