uploadFile

fun uploadFile(localFileToUpload: File, parentId: String?): OmhTask<UploadFileUseCaseResult>

This method upload a file in an specific folder

Return

An OmhTask with the result of the operation

Parameters

localFileToUpload

The file to be uploaded

parentId

The id of the folder where the file will be uploaded