createFile

abstract fun createFile(    qualifiedName: String,     mimeType: String,     completion: () -> Unit,     failureHandler: (ErrorCode, Throwable?) -> Unit)

Create a file.

Parameters

qualifiedName

The fully-qualified name of the module or resource.

mimeType

The MIME type of the file being created.

completion

A function to be run upon the successful creation of the file.

failureHandler

A function that accepts a ErrorCode that describes the failure and a nullableThrowable.