provide
fun provide(registerInterest: Boolean, successHandler: (UUID, String, AvailFile) -> Unit, failureHandler: (ErrorCode, Throwable?) -> Unit)
Provide the raw bytes of the enclosed AvailFile to the requesting consumer.
Parameters
register Interest
true if the intent is to let this AbstractFileWrapper know that the caller is interested in the file being kept in memory; false otherwise.
success Handler
A function that accepts the FileManager.fileCache that uniquely identifies the file, the String mime type, and the AvailFile.