firmwareUpdateState

abstract suspend fun firmwareUpdateState(): Result<FirmwareUpdateState>

Returns information about updates available for the current connected device.

Return

An instance of FirmwareUpdateState wrapped in Kotlin Result, The result will throw DeviceIsNotConnectedException in case there is no connected device, ConfigurationNotAvailableException in case there is no available configuration loaded and ValidSessionRequiredException if a valid session is required to update firmware.