download

suspend fun download(fileUrl: String): Uri?

Downloads a file from the given fileUrl and stores it on disk.

Return

Uri in case of success and null otherwise

Parameters

fileUrl

provides the URL of the file to download