java.lang.Object | |
↳ | com.datalogic.cradle.DLCradleManager |
This class provides access to Cradle related methods of the device.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a Failure listener used to be notify about failure events occurred on the Cradle.
| |||||||||||
Add an Insertion listener used to be notify about insertion and extraction events from the Cradle.
| |||||||||||
Add a Unlock listener used to be notify about Lever status changed events occurred on the Cradle.
| |||||||||||
Add an Unlock Key Event listener used to be notify about Unlock Key events occurred on the Cradle.
| |||||||||||
Performs Cradle Firmware update procedure.
| |||||||||||
Abort Cradle Firmware update procedure
| |||||||||||
Returns the available source power to charge the Device into the Cradle as instance of
AvailableSourcePower . | |||||||||||
Returns the current insertion count for this Cradle slot
| |||||||||||
Returns the position of the Device related to the Cradle as instance of
InsertionState . | |||||||||||
Returns an instance of the
DLCradleManager . | |||||||||||
Returns the current position related to the Cradle lever.
| |||||||||||
Returns the Cradle slot index where the device is inserted in
| |||||||||||
Returns the Cradle type.
| |||||||||||
Returns the current position related to the unlock key.
| |||||||||||
Reboot the Cradle.
| |||||||||||
Remove a Failure listener previously added with the
addFailureEventListener(CradleFailureEventListener) method. | |||||||||||
Remove an Insertion listener previously added with the
addInsertionEventListener(CradleInsertionEventListener) method. | |||||||||||
Remove an Unlock listener previously added with the
addUnlockEventListener(CradleUnlockEventListener) method. | |||||||||||
Remove an Unlock Key Event listener previously added with the
addUnlockKeyEventListener(CradleUnlockKeyEventListener) method. | |||||||||||
Sets the new position related to the Cradle lever.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Add a Failure listener used to be notify about failure events occurred on the Cradle.
listener | The CradleFailureEventListener to be added. |
---|
boolean
true in case of success, false otherwise.
Add an Insertion listener used to be notify about insertion and extraction events from the Cradle.
listener | The CradleInsertionEventListener to be added. |
---|
boolean
true in case of success, false otherwise.
Add a Unlock listener used to be notify about Lever status changed events occurred on the Cradle.
listener | The CradleUnlockEventListener to be added. |
---|
boolean
true in case of success, false otherwise.
Add an Unlock Key Event listener used to be notify about Unlock Key events occurred on the Cradle.
listener | The CradleUnlockKeyEventListener to be added. |
---|
boolean
true in case of success, false otherwise.
Performs Cradle Firmware update procedure.
binaryPath | the String path where the binary file is stored. |
---|---|
size | the String dimension of the binary file. |
boolean
true in case of success, false otherwise.in case of error. |
Abort Cradle Firmware update procedure
Integer
true in case of success, false otherwise.
Returns the available source power to charge the Device into the Cradle as instance of AvailableSourcePower
.
AvailableSourcePower
configured to charge the Device.
Returns the current insertion count for this Cradle slot
Integer
of the current insertion count for this Cradle slot.
Returns the position of the Device related to the Cradle as instance of InsertionState
.
InsertionState
of the Device.
Returns an instance of the DLCradleManager
.
Returns the current position related to the Cradle lever.
LeverStatus
of the Cradle.
Returns the Cradle slot index where the device is inserted in
Integer
of the Cradle slot index where the device is inserted in.
Returns the Cradle type.
Type
of the Cradle where the device is inserted in.
Returns the current position related to the unlock key.
UnlockKeyStatus
of the unlock key.
Reboot the Cradle.
in case of error. |
Remove a Failure listener previously added with the addFailureEventListener(CradleFailureEventListener)
method.
listener | The CradleFailureEventListener to be removed. |
---|
boolean
true in case of success, false otherwise.
Remove an Insertion listener previously added with the addInsertionEventListener(CradleInsertionEventListener)
method.
listener | The CradleInsertionEventListener to be removed. |
---|
boolean
true in case of success, false otherwise.
Remove an Unlock listener previously added with the addUnlockEventListener(CradleUnlockEventListener)
method.
listener | The CradleUnlockEventListener to be removed. |
---|
boolean
true in case of success, false otherwise.
Remove an Unlock Key Event listener previously added with the addUnlockKeyEventListener(CradleUnlockKeyEventListener)
method.
listener | The CradleUnlockKeyEventListener to be removed. |
---|
boolean
true in case of success, false otherwise.
Sets the new position related to the Cradle lever.
levelStatus | The required LeverStatus of the Cradle lever. |
---|
boolean
true in case of success, false otherwise.