PerformDfu

This task performs the DFU. Given images will be sent to the target device, and tested and confirmed, depending on the given mode.

Constructors

Link copied to clipboard
constructor(@NotNull mode: @NotNull FirmwareUpgradeManager.Mode, @NotNull images: @NotNull ImageSet)

Functions

Link copied to clipboard
open fun cancel()
Link copied to clipboard
abstract fun compareTo(p: T): Int
fun compareTo(o: Task<S, State>): Int
Link copied to clipboard
open fun getPriority(): Int
Returns task priority.
Link copied to clipboard
@NotNull
open fun getState(): @NotNull FirmwareUpgradeManager.State
Returns the state that will be reported to the callback.
Link copied to clipboard
open fun pause()
Link copied to clipboard