add Participant To Bubble
abstract fun addParticipantToBubble(room: Room?, contact: IRainbowContact?, listener: IRoomProxy.IAddParticipantsListener?)
Content copied to clipboard
Add one participant to a bubble with invitation and as a user.
Parameters
room
@object:Room The bubble where the participant is added
contact
@object:IRainbowContact The contact to add in the bubble
listener
IAddParticipantsListener Callback (onAddParticipantsSuccess, onMaxParticipantsReached and onAddParticipantFailed)
abstract fun addParticipantToBubble(room: Room?, contact: IRainbowContact?, asModerator: Boolean, withInvitation: Boolean, listener: IRoomProxy.IAddParticipantsListener?)
Content copied to clipboard
Add one participant to a bubble.
Parameters
room
@object:Room The bubble where the participant is added
contact
@object:IRainbowContact The contact to add in the bubble
asModerator
boolean Set to true to invite a contact as a moderator (false by default)
withInvitation
boolean Set to true to send an invitation or false to add someone directly in a bubble (true by default)
listener
IAddParticipantsListener Callback (onAddParticipantsSuccess, onMaxParticipantsReached and onAddParticipantFailed)