saveFile

abstract fun saveFile(    reference: ResolverReference,     fileContents: ByteArray,     successHandler: () -> Unit,     failureHandler: (ErrorCode, Throwable?) -> Unit)

Save the file to where it is stored.

Parameters

reference

The ResolverReference that identifies the target file to save.

fileContents

The contents of the file to save.

failureHandler

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