public class ButtonListenerImpl extends BaseListenerImpl implements IButtonListener
| Constructor and Description |
|---|
ButtonListenerImpl(long id)
Constructor with listener id.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onError(IButtonListenerError error)
No data received
|
void |
onResult(Button button)
Called on button pressed
|
void |
onWarning(Button button,
IButtonListenerWarning warning)
Data received with warning
|
getAPIGroup, getAPIVersion, getId, getJSONParserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdgetAPIGroup, getAPIVersionpublic ButtonListenerImpl(long id)
id - The id of the listener.public void onError(IButtonListenerError error)
onError in interface IButtonListenererror - occurredpublic void onResult(Button button)
onResult in interface IButtonListenerbutton - pressedpublic void onWarning(Button button, IButtonListenerWarning warning)
onWarning in interface IButtonListenerbutton - pressedwarning - happened