Added in Version 2.10.0

FirmwareUpdateDelegate

The protocol that defines the status event for the firmware update API

Method

firmwareUpdateProgress(_ firmware: StarPrinterSettingFirmware, step: FirmwareUpdateStep)

Notify that the state of firmware update progress is changed

firmwareUpdateTransmitComplete(_ firmware: StarPrinterSettingFirmware)

Notify that completion of sending firmware data to printer

firmwareUpdate(_ firmware: StarPrinterSettingFirmware, errorDidOccur error: Error)

Notify that a error occurred

Note

This Delegate is Class-Only Protocol. It cannot apply to Swift struct (e.g. SwiftUI) and Enum. If necessary, create another class and apply it to the class.