Package com.zebra.sdk.printer
Interface FirmwareUpdateHandlerBase
- All Known Subinterfaces:
FirmwareUpdateHandler
public interface FirmwareUpdateHandlerBase
Handler class is used to update status while performing a firmware download.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when the firmware download completes.voidprogressUpdate(int bytesWritten, int totalBytes) Callback to notify the user of the firmware updating progress.
-
Method Details
-
progressUpdate
void progressUpdate(int bytesWritten, int totalBytes) Callback to notify the user of the firmware updating progress. This is called for every 4K bytes written out.- Parameters:
bytesWritten- total number of bytes written to the printer.totalBytes- total number of bytes to be written to the printer.
-
firmwareDownloadComplete
void firmwareDownloadComplete()Called when the firmware download completes. The printer will then begin flashing the firmware to memory followed by a reboot.
-