optionally Provide Existing File
fun optionallyProvideExistingFile( resolverReference: ResolverReference, successHandler: (UUID, AvailFile) -> Unit, failureHandler: (ErrorCode, Throwable?) -> Unit): Boolean
Content copied to clipboard
Attempt to provide a file if it already exists in this FileManager without directly requesting it be added.
Return
true if file is available and being provided to consumer or false if the file is not present.
Parameters
resolver Reference
The ResolverReference that identifies the target file to read.
success Handler
A function that accepts the FileManager.fileCache that uniquely identifies the file and the AvailFile.