upload File To Bubble
abstract fun uploadFileToBubble(room: Room, uriFile: Uri, listener: RainbowListener<RainbowFileDescriptor, Unit>? = null)
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
uri File
Uri the Uri of the file to upload
listener
RainbowListener<RainbowFileDescriptor, Unit> callback (onSuccess, onError)