com.datalogic.extension.selfshopping.cradle.joyatouch.CradleJoyaTouch |
Interface for the Joya Touch Cradle API.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CradleJoyaTouch.Type | Enumerative representing a Joya Touch Cradle type. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Execute a specific action on the current LED.
| |||||||||||
Execute a specific lock action.
| |||||||||||
Read the current state from the Joya Touch Cradle.
| |||||||||||
Returns the type of Cradle the device is currently inserted into (or
UNKNOWN in case the device is not currently inside a
Cradle). | |||||||||||
Return current slot's failure state.
| |||||||||||
Gets the favorite firmware value currently in use.
| |||||||||||
Checks if the device is currently in fast charge.
| |||||||||||
Read the configuration area from the Cradle.
| |||||||||||
Read the custom area from the Cradle.
| |||||||||||
Method used to reset the Joya Touch Cradle.
| |||||||||||
Sets the favorite firmware between the list of allowed values.
| |||||||||||
Write the configuration area into the Cradle.
| |||||||||||
Write the custom area into the Cradle.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.datalogic.extension.selfshopping.cradle.Cradle
|
Execute a specific action on the current LED. This method is used to control the Cradle LED of the slot in which the device is inserted.
action | Specifies which LedAction to execute. |
---|
boolean
true in case of success, false otherwise.
Execute a specific lock action. This method is used to lock or unlock the device from the Cradle, optionally controlling the LED associated with the current Cradle slot.
action | Specifies which LockAction to execute. |
---|
boolean
true in case of success, false otherwise.
Read the current state from the Joya Touch Cradle.
state | The StateInfo that will be filled by the method
with the current information read from the Cradle if
the operation is successful, otherwise the input object
will not be modified from its previous values. |
---|
boolean
true in case of success, false otherwise.
Returns the type of Cradle the device is currently inserted into (or
UNKNOWN
in case the device is not currently inside a
Cradle).
CradleJoyaTouch.Type
enum representing the type of Cradle in which
the device is inserted.
Return current slot's failure state.
FailureState
enum representing the current
failure state.
Gets the favorite firmware value currently in use.
FavoriteFirmware
enum representing the
firmware to favor during Cradle detection.
Checks if the device is currently in fast charge.
boolean
true in case the device is in fast
charge, false otherwise.
Read the configuration area from the Cradle.
area | The ConfigArea to be filled with the result read
from the Cradle. |
---|
boolean
true in case of success, false otherwise.
Read the custom area from the Cradle.
area | The CustomArea to be filled with the result read
from the Cradle. |
---|---|
size | The required size for the custom area. This parameter has
a maximum value of SIZE . |
boolean
true in case of success, false otherwise.
Method used to reset the Joya Touch Cradle.
boolean
true in case of success, false otherwise.
Sets the favorite firmware between the list of allowed values.
favoriteFirmware | A FavoriteFirmware enum representing the
firmware to favor during Cradle detection.
|
---|
Write the configuration area into the Cradle.
area | The ConfigArea to write into the Cradle. |
---|
boolean
true in case of success, false otherwise.
Write the custom area into the Cradle.
area | The CustomArea to write into the Cradle. |
---|---|
size | The number of bytes to write in the custom area.
This parameter has a maximum value of SIZE . |
boolean
true in case of success, false otherwise.