com.datalogic.extension.selfshopping.cradle.Trolley |
Interface exposing the API of a Trolley.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a listener that is used in order to manage the insertion and
extraction events from the Trolley.
| |||||||||||
Checks if the device is inserted in the Trolley.
| |||||||||||
Remove a listener previously inserted by the specific add method.
|
Add a listener that is used in order to manage the insertion and extraction events from the Trolley.
listener | The TrolleyInsertionListener to add. |
---|
boolean
true in case of success, false otherwise.
Checks if the device is inserted in the Trolley.
boolean
true if the device is inside the Trolley,
false otherwise or in case of failure in the detection.
Remove a listener previously inserted by the specific add method.
listener | The TrolleyInsertionListener to remove. |
---|
boolean
true in case of success, false otherwise.