Class CloverDeviceEvent
java.lang.Object
com.clover.remote.client.messages.CloverDeviceEvent
Encapsulates the start or stop of a Clover Device activity (e.g. a UI event)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnum corresponding to valid UI State events from the device -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCode()Get the field valueGet the field valuecom.clover.remote.InputOption[]Get the field valueGet the field valuevoidsetCode(int code) Set the field valuevoidsetEventState(CloverDeviceEvent.DeviceEventState eventState) Set the field valuevoidsetInputOptions(com.clover.remote.InputOption[] inputOptions) Set the field valuevoidsetMessage(String message) Set the field value
-
Constructor Details
-
CloverDeviceEvent
public CloverDeviceEvent()
-
-
Method Details
-
getEventState
Get the field value- Returns:
- the event
-
setEventState
Set the field value- Parameters:
eventState- the event
-
getCode
public int getCode()Get the field value- Returns:
- code
-
setCode
public void setCode(int code) Set the field value- Parameters:
code- code
-
getMessage
Get the field value- Returns:
- the display message
-
setMessage
Set the field value- Parameters:
message- the display message
-
getInputOptions
public com.clover.remote.InputOption[] getInputOptions()Get the field value- Returns:
- available input options
-
setInputOptions
public void setInputOptions(com.clover.remote.InputOption[] inputOptions) Set the field value- Parameters:
inputOptions- available input options
-