DfuEventListener¶
Methods¶
onDfuChanged¶
-
void
onDfuChanged(DfuEvent event)¶ Called when there is a new
DFU event.The system will always try to reconnect to the remote device after the DFU procedure is completed successfully or unsuccessfully.
The procedure is finished only when the
de.sensry.kallisto.hardware.listeners.events.DfuEventType.DFU_DEVICE_RECOVERED,de.sensry.kallisto.hardware.listeners.events.DfuEventType.DFU_ERROR_DEVICE_RECOVER_FAILEDorde.sensry.kallisto.hardware.listeners.events.DfuEventType.DFU_NOT_RECOVERABLEevents are received.- Parameters
event – The
DFU event.