AndroidFirmwareFileHandler
class AndroidFirmwareFileHandler(context: Context, client: HttpClient) : FirmwareFileHandler(source)
Helper class to handle file operations related to firmware updates, such as downloading, copying from URI, and extracting specific files from Zip archives.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun copyFileToUri(sourcePath: String, destinationUri: ERROR CLASS: Symbol not found for CommonUri): Long
Link copied to clipboard
abstract suspend fun copyUriToUri(sourceUri: ERROR CLASS: Symbol not found for CommonUri, destinationUri: ERROR CLASS: Symbol not found for CommonUri): Long
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun extractFirmware(uri: CommonUri, hardware: DeviceHardware, fileExtension: String, preferredFilename: String?): String?
abstract suspend fun extractFirmware(uri: ERROR CLASS: Symbol not found for CommonUri, hardware: ERROR CLASS: Symbol not found for DeviceHardware, fileExtension: String, preferredFilename: String? = null): String?
Link copied to clipboard
open suspend override fun extractFirmwareFromZip(zipFilePath: String, hardware: DeviceHardware, fileExtension: String, preferredFilename: String?): String?
abstract suspend fun extractFirmwareFromZip(zipFilePath: String, hardware: ERROR CLASS: Symbol not found for DeviceHardware, fileExtension: String, preferredFilename: String? = null): String?
Link copied to clipboard