FuncList | DESC |
Callback for gift count changed. | |
Callback for receive gift message. | |
Callback for receive likes message. | |
Add event callback | |
Remove event callback | |
Request get gift category list. | |
send gift to room. | |
send like to room. | |
Request get gift count by anchor. | |
Request get likes count |
FuncList | DESC |
Gift information. | |
Gift Category Information |
void onGiftCountChanged | (String roomId |
| long totalGiftsSent |
| long totalGiftCoins |
| long totalUniqueGiftSenders) |
Param | DESC |
roomId | the room id. |
totalGiftCoins | the gift total coins. |
totalGiftsSent | the gift total count. |
totalUniqueGiftSenders | the gift sender count. |
void onReceiveGiftMessage | (String roomId |
| |
| long giftCount |
|
Param | DESC |
giftCount | the gift count. |
giftInfo | the gift info. |
roomId | the room id. |
sender | the gift sender user info. |
void onReceiveLikesMessage | (String roomId |
| long totalLikesReceived |
|
Param | DESC |
roomId | the room id. |
sender | the gift sender user info. |
totalLikesReceived | the likes total count. |
void addObserver | (Observer observer) |
Param | DESC |
observer | The instance being listened to. |
void removeObserver | (Observer observer) |
Param | DESC |
observer | The instance being listened to. |
void getGiftList | (String roomId |
| GetGiftListCallback callback) |
Param | DESC |
roomId | current entered room id. |
void sendGift | (String roomId |
| String giftId |
| int count |
| TUIRoomDefine.ActionCallback callback) |
Param | DESC |
count | gift count. |
giftId | gift id. |
roomId | current entered room id. |
void sendLike | (String roomId |
| int count |
| TUIRoomDefine.ActionCallback callback) |
Param | DESC |
count | like count. |
roomId | current entered room id. |
void getGiftCountByAnchor | (String roomId |
| GetGiftCountCallback callback) |
Param | DESC |
roomId | current entered room id. |
void getLikesCount | (String roomId |
| GetLikesCountCallback callback) |
Param | DESC |
roomId | current entered room id. |
EnumType | DESC |
coins | The gift coins. |
desc | The gift description. |
extensionInfo | The gift extension info. |
giftId | The gift id. |
iconUrl | The gift icon url. |
level | The gift level. |
name | The gift name. |
resourceUrl | The gift resource url. |
EnumType | DESC |
categoryId | The category id of the gift. |
desc | The description of the gift. |
extensionInfo | The extension info of the gift. |
giftList | The gift info list of the gift. |
name | The name of the gift. |
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários