uploadFileToBubble

abstract fun uploadFileToBubble(room: Room, uriFile: Uri, listener: IFileProxy.IUploadFileListener?)

Uploads a file to a bubble A new RainbowFileDescriptor will be create with the user as the owner, the bubble will be a viewer for this RainbowFileDescriptor.

Parameters

room

Room the bubble object in which the file will be uploaded

uriFile

Uri the Uri of the file to upload

listener

IUploadFileListener Callback (onUploadSuccess, onUploadInProgress, onUploadFailed)