FileDownloader

open class FileDownloader

Functions

Link copied to clipboard
open fun downloadFile(@NonNull context: Context, @NonNull message: FileMessage, @NonNull handler: OnResultHandler<File>): Boolean
Link copied to clipboard
open fun downloadThumbnail(@NonNull context: Context, @NonNull message: FileMessage)
Link copied to clipboard
open fun downloadToCache(@NonNull context: Context, @NonNull message: FileMessage): File
open fun downloadToCache(@NonNull context: Context, @NonNull message: FileMessage, @NonNull destFile: File): File
Link copied to clipboard
open fun downloadVoiceFileToCache(@NonNull context: Context, @NonNull message: FileMessage): File
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun saveFile(@NonNull context: Context, @NonNull url: String, @NonNull type: String, @NonNull filename: String)