PerformDfu

This task performs the DFU using SUIT manager.

Constructors

Link copied to clipboard
constructor(envelope: @NotNull Array<Byte>)
Create a new PerformDfu task.
constructor(envelope: @NotNull Array<Byte>, @Nullable cacheImages: @Nullable CacheImageSet)
Create a new PerformDfu task.

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 SUITUpgradeManager.State
Returns the state that will be reported to the callback.
Link copied to clipboard
open fun pause()
Link copied to clipboard
open fun start(@NotNull performer: @NotNull TaskManager<SUITUpgradePerformer.Settings, SUITUpgradeManager.State>)