Copyright (c) 2024 Tencent. All rights reserved.
Module: TUILiveListManager @ TUIKitEngine
Function: Live Streaming Related Interface
TUILiveListManager
|
| Live Streaming Information Change Callback |
| Add Event Callback |
| Remove event callbacks |
| Modify Live Streaming Information |
| Retrieve Live Streaming Information |
| Getting the Live Stream List |
Struct type
|
| Live Streaming Information |
Enumeration Types
|
| Modify Flags for Live Streaming Room |
onLiveInfoChanged
OnLiveInfoChanged onLiveInfoChanged | |
| |
Live Streaming Information Change Callback
|
TUILiveInfo | Live Streaming Room Information |
modifyFlagList | List of Changed Value Flags |
addObserver
| (TUILiveListObserver observer) |
Add Event Callback
You can receive live room event notifications through TUILiveListManagerObserver
|
observer | Instance to Monitor |
removeObserver
| (TUILiveListObserver observer) |
Remove event callbacks
You can receive live room event notifications through TUILiveListManagerObserver
|
observer | Instance to Monitor |
setLiveInfo
Future<TUIActionCallback> setLiveInfo | |
| |
Modify Live Streaming Information
|
roomId | Room ID |
coverUrl | Profile Photo URL |
categoryList | Live Room Category Tag |
isPublicVisible | Is Public |
activityStatus | Live room active status: user-defined Definition tag |
getLiveInfo
Future<TUIValueCallBack<TUILiveInfo>> getLiveInfo | |
Retrieve Live Streaming Information
|
callback | Callback of API call, used to notify the success or failure of the API call |
roomId | Room ID |
fetchLiveList
Future<TUIValueCallBack<TUILiveListResult>> fetchLiveList | |
| |
Getting the Live Stream List
|
count | Number of Pulls each time |
cursor | List Index |
TUILiveModifyFlag
Modify Flags for Live Streaming Room
|
ACTIVITY_STATUS | 0x0100 | ActivityStatus: Live Room Activity Status, supports custom settings |
COVER_URL | 0x0200 | CoverUrl: Live Room Cover |
CATEGORY | 0x0400 | Category: Live Room Category |
PUBLISH | 0x0800 | Publish: Live Room Public Tag |
TUILiveInfo
Live Streaming Information
|
activityStatus | Live room active status: user-defined Definition tag |
categoryList | Live Room Category Tag |
coverUrl | Live Room Cover |
isPublicVisible | Is Live Room Public |
roomInfo | Room Information (Read Only) |
viewCount | Total View Count |