downloadFile

fun downloadFile(fileId: String, mimeType: String?): OmhTask<DownloadFileUseCaseResult>

This method download a file with a given mime type and a given id

Return

An OmhTask with the result of the operation

Parameters

fileId

The id fo the file to be downloaded

mimeType

The mimeType of the file to be downloaded