Added in Version 2.10.0

StarPrinterSettingFirmware

プリンターファームウェアに関連する制御をするクラス

プロパティ

初期値

型

isUpdatable

接続中プリンターがファームウェア更新に対応しているか

機種依存

Bool

currentVersion

接続中プリンターの現在のファームウェアバージョン

""

String

latestVersion

接続中プリンターの最新のファームウェアバージョン

nil

String?

updateDelegate

ファームウェア更新のステータスイベント

nil

FirmwareUpdateDelegate?

メソッド

getCurrentVersion() async

現在のファームウェアバージョンを取得

checkVersions() async

現在のファームウェアバージョンと最新のファームウェアバージョンを確認

update() async

接続中プリンターを最新のファームウェアに更新