fetch File Descriptor By Id
abstract fun fetchFileDescriptorById(fileDescriptorId: String?, listener: RainbowListener<RainbowFileDescriptor, FileRepository.FetchFileDescriptorError>? = null): 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
file Descriptor Id
String the unique RainbowFileDescriptor identifier
listener
RainbowListener<RainbowFileDescriptor, FileRepository.FetchFileDescriptorError> callback (onSuccess, onError)