fetchFileDescriptorById

abstract fun fetchFileDescriptorById(fileDescriptorId: String?, listener: IFileProxy.IGetFileDescriptorListener?): RainbowFileDescriptor?

Returns a RainbowFileDescriptor and fetch last data from the server This method resolve the RainbowFileDescriptor from the server, it returns immediately the local RainbowFileDescriptor if found or null otherwise. The listener allows to be notified when the RainbowFileDescriptor has been resolved from the server. The local object is automatically updated with last data

Return

the local RainbowFileDescriptor if found or null

Parameters

fileDescriptorId

String the unique RainbowFileDescriptor identifier

listener

IGetFileDescriptorListener callback (onGetFileDescriptorSuccess, onGetFileDescriptorFailed)