Success

data class Success(val wasLowSpeedTransfer: Boolean = false, val deviceWasWiped: Boolean = false, val verified: Boolean = false) : FirmwareUpdateState(source)

The firmware update completed and the device reconnected successfully.

Constructors

Link copied to clipboard
constructor(wasLowSpeedTransfer: Boolean = false, deviceWasWiped: Boolean = false, verified: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard

False when a transfer handler reports the flash done, which is followed by Verifying; true once the device has reconnected and the update is final.

Link copied to clipboard

True if the upload ran at the MTU-capped low speed (stock bootloader), so the Success screen can offer a one-time OTAFIX upgrade tip for faster future updates.

Functions

Link copied to clipboard

The game is offered only while an update runs unattended. Null means the update needs the user (a file to save, a bootloader to review, a cancel back to Ready), so the game closes rather than covering the screen that asks.