Download

abstract class Download

Ongoing firmware download state and progress.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
enum State
Download state.
Link copied to clipboard
Reasons that make downloading firmware(s) impossible.

Functions

Link copied to clipboard
Gives information on the current firmware being downloaded.
Link copied to clipboard
@IntRange(from = 1)
abstract fun currentFirmwareIndex(): Int
Gives the index of the currently downloaded firmware file.
Link copied to clipboard
@IntRange(from = 0, to = 100)
abstract fun currentFirmwareProgress(): Int
Gives current firmware file download progress, in percent.
Link copied to clipboard
Gives current download state.
Link copied to clipboard
@IntRange(from = 1)
abstract fun totalFirmwareCount(): Int
Gives the count of all firmware files that will be downloaded.
Link copied to clipboard
@IntRange(from = 0, to = 100)
abstract fun totalProgress(): Int
Gives total download progress, in percent.