android-components / mozilla.components.support.utils / DownloadUtils

DownloadUtils

object DownloadUtils (source)

Functions

guessFileName

fun guessFileName(contentDisposition: String?, url: String?, mimeType: String?): String

Guess the name of the file that should be downloaded.