uploadFileDescriptorToPersonalStorage

abstract fun uploadFileDescriptorToPersonalStorage(fileDescriptor: RainbowFileDescriptor, hidePurpose: Boolean = false, listener: IFileProxy.IGetFileDescriptorListener?)

As a viewer of the RainbowFileDescriptor, upload a copy in the user personal storage A new RainbowFileDescriptor will be created with the user as owner. Note that it's only possible if the user is currently an active viewer and not the owner of the RainbowFileDescriptor. A copy of the file is put in the user's personal storage.

Parameters

fileDescriptor

RainbowFileDescriptor the RainbowFileDescriptor to be copied to the personal storage space

listener

IGetFileDescriptorListener callback (onGetFileDescriptorSuccess, onGetFileDescriptorFailed)