Update

abstract class Update

Ongoing firmware update state and progress.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
enum State
Update state.
Link copied to clipboard
Reasons that make applying firmware update(s) impossible.

Functions

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