changeOwner

abstract fun changeOwner(room: Room, ownerId: String?, listener: IRoomProxy.IChangeRoomDataListener?)

Change the owner of a bubble

Parameters

room

@object:Room The bubble to change the owner

ownerId

String The contact id of the new owner

listener

IChangeRoomDataListener Callback (onChangeRoomDataSuccess, onChangeRoomDataFailed)