createFile

abstract fun createFile(name: String, mimeType: String, parentId: String?): OmhFile?

This method create files in an specific folder

Return

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

Parameters

name

The name of the file to be created

mimeType

The mimeType of the file to be created

parentId

The id of the folder where the file will be created