uploadFile

abstract fun uploadFile(localFileToUpload: File, parentId: String?): OmhFile?

This method upload a file in an specific folder

Return

An OmhFile with the information of the uploaded file. Null in case the file was not uploaded

Parameters

localFileToUpload

The file to be uploaded

parentId

The id of the folder where the file will be uploaded