saveFile

fun saveFile(availFile: AvailFile, failureHandler: (ErrorCode, Throwable?) -> Unit)

Save the AvailFile to where it is stored.

Parameters

The AvailFile to save.

failureHandler

A function that accepts an ErrorCode that describes the nature of the failure and an optional Throwable.