FirmwareUpdateViewModel

class FirmwareUpdateViewModel(firmwareReleaseRepository: ERROR CLASS: Symbol not found for FirmwareReleaseRepository, deviceHardwareRepository: ERROR CLASS: Symbol not found for DeviceHardwareRepository, nodeRepository: ERROR CLASS: Symbol not found for NodeRepository, radioController: ERROR CLASS: Symbol not found for RadioController, radioPrefs: ERROR CLASS: Symbol not found for RadioPrefs, bootloaderWarningDataSource: ERROR CLASS: Symbol not found for BootloaderWarningDataSource, firmwareUpdateManager: FirmwareUpdateManager, usbManager: FirmwareUsbManager, fileHandler: FirmwareFileHandler) : <ERROR CLASS> ERROR CLASS: Symbol not found for ViewModel(source)

Constructors

Link copied to clipboard
constructor(firmwareReleaseRepository: ERROR CLASS: Symbol not found for FirmwareReleaseRepository, deviceHardwareRepository: ERROR CLASS: Symbol not found for DeviceHardwareRepository, nodeRepository: ERROR CLASS: Symbol not found for NodeRepository, radioController: ERROR CLASS: Symbol not found for RadioController, radioPrefs: ERROR CLASS: Symbol not found for RadioPrefs, bootloaderWarningDataSource: ERROR CLASS: Symbol not found for BootloaderWarningDataSource, firmwareUpdateManager: FirmwareUpdateManager, usbManager: FirmwareUsbManager, fileHandler: FirmwareFileHandler)

Properties

Link copied to clipboard
val connectionState: ERROR CLASS: Unresolved name: connectionState
Link copied to clipboard
val currentFirmwareVersion: ERROR CLASS: Unresolved name: asStateFlow
Link copied to clipboard
val deviceHardware: ERROR CLASS: Unresolved name: asStateFlow
Link copied to clipboard
val selectedRelease: ERROR CLASS: Symbol not found for StateFlow<ERROR CLASS: Symbol not found for FirmwareRelease?>
Link copied to clipboard
val selectedReleaseType: ERROR CLASS: Symbol not found for StateFlow<ERROR CLASS: Symbol not found for FirmwareReleaseType>
Link copied to clipboard
val state: ERROR CLASS: Symbol not found for StateFlow<org/meshtastic/feature/firmware/FirmwareUpdateState>

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onCleared()
Link copied to clipboard
fun saveDfuFile(uri: ERROR CLASS: Symbol not found for CommonUri)
Link copied to clipboard
fun setReleaseType(type: ERROR CLASS: Symbol not found for FirmwareReleaseType)
Link copied to clipboard
Link copied to clipboard
fun startUpdateFromFile(uri: ERROR CLASS: Symbol not found for CommonUri)