FirmwareUpdateActions
data class FirmwareUpdateActions(val onReleaseTypeSelect: (FirmwareReleaseType) -> Unit, val onStartUpdate: (Boolean) -> Unit, val onPickFile: () -> Unit, val onSaveFile: (String) -> Unit, val onPickVolume: () -> Unit, val onBootloaderUpgrade: () -> Unit, val onConfirmBootloaderUpgrade: () -> Unit, val onSkipBootloaderUpgrade: () -> Unit, val onConfirmLocalFile: () -> Unit, val onDismissLocalFile: () -> Unit, val onRetry: () -> Unit, val onCancel: () -> Unit, val onDone: () -> Unit, val onDismissBootloaderWarning: () -> Unit)(source)
Constructors
Link copied to clipboard
constructor(onReleaseTypeSelect: (FirmwareReleaseType) -> Unit, onStartUpdate: (Boolean) -> Unit, onPickFile: () -> Unit, onSaveFile: (String) -> Unit, onPickVolume: () -> Unit, onBootloaderUpgrade: () -> Unit, onConfirmBootloaderUpgrade: () -> Unit, onSkipBootloaderUpgrade: () -> Unit, onConfirmLocalFile: () -> Unit, onDismissLocalFile: () -> Unit, onRetry: () -> Unit, onCancel: () -> Unit, onDone: () -> Unit, onDismissBootloaderWarning: () -> Unit)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Pick the device's UF2 volume for a maintenance pass, which vets the drive before writing to it.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Leaves the bootloader as it is and moves on to reinstalling the firmware.
Link copied to clipboard
Starts the update; true means the user opted into wiping the device as part of it (default off in the UI).