FuncList | DESC |
Live information changed callback. | |
Set the event observer. | |
Modify live information. | |
Get live information. | |
Get a list of live rooms, with a maximum of 50 returned per fetch. |
FuncList | DESC |
Live information. |
EnumType | DESC |
The TUILiveInfo modifiable parameter key. |
void onLiveInfoChanged | |
|
Param | DESC |
liveInfo | Live information. |
modifyFlag |
void setObserver | (Observer observer) |
Param | DESC |
observer | Listening instance. |
void setLiveInfo | |
| |
| TUIRoomDefine.ActionCallback callback) |
Param | DESC |
liveInfo | Live information. |
modifyFlag |
void getLiveInfo | (String roomId |
| LiveInfoCallback callback) |
Param | DESC |
roomId | Room ID. |
void fetchLiveList | (String cursor |
| int count |
| LiveInfoListCallback callback) |
Param | DESC |
count | Set the number of live lists to be obtained in each request. |
cursor | Set the index of live lists in each request. |
Enum | Value | DESC |
ACTIVITY_STATUS | 0x0100 | ActivityStatus: Live room active status, support for custom settings. |
COVER_URL | 0x0200 | CoverUrl: Live room cover. |
CATEGORY | 0x0400 | Category: Live room category. |
PUBLISH | 0x2000 | Publish: Live room public flag. |
BACKGROUND_URL | 0x40000 | BackgroundUrl: Live room background. |
EnumType | DESC |
activityStatus | Live room active status: User-defined tag. |
backgroundUrl | CoverUrl: Live room background, maximum support is 200 bytes. |
categoryList | Live room category tags, a single room supports up to 3 tags. |
coverUrl | CoverUrl: Live room cover, maximum support is 200 bytes. |
isPublicVisible | The public parameter can control whether the live room can be seen by others. |
roomInfo | |
viewCount | Total views (the count of user entering live room). |
Was this page helpful?