FirmwareFileHandler

Functions

Link copied to clipboard
abstract suspend fun checkUrlExists(url: String): Boolean
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
abstract suspend fun deleteFile(path: String)
Link copied to clipboard
abstract suspend fun downloadFile(url: String, fileName: String, onProgress: (Float) -> Unit): String?
Link copied to clipboard
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
abstract suspend fun extractFirmwareFromZip(zipFilePath: String, hardware: ERROR CLASS: Symbol not found for DeviceHardware, fileExtension: String, preferredFilename: String? = null): String?
Link copied to clipboard
abstract suspend fun getFileSize(path: String): Long