FuncList | DESC |
Live information changed callback. |
FuncList | DESC |
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. |
- (void)onLiveInfoChanged: | |
modifyFlag: | (TUILiveModifyFlag)modifyFlag |
Param | DESC |
liveInfo | Live information. |
modifyFlag | Modifiable parameter. More details, see TUILiveModifyFlag. |
- (void)setObserver: |
Param | DESC |
observer | Listening instance. |
- (void)setLiveInfo: | |
modifyFlag: | (TUILiveModifyFlag)modifyFlag |
onSuccess: | (TUISuccessBlock)onSuccess |
onError: | (TUIErrorBlock)onError |
Param | DESC |
liveInfo | Live information. |
modifyFlag | Modifiable parameter. More details, see TUILiveModifyFlag. |
- (void)getLiveInfo: | (NSString *)roomId |
onSuccess: | (TUILiveInfoBlock)onSuccess |
onError: | (TUIErrorBlock)onError |
Param | DESC |
roomId | Room ID. |
- (void)fetchLiveList: | (NSString *)cursor |
count: | (NSInteger)count |
onSuccess: | (TUILiveInfoListBlock)onSuccess |
onError: | (TUIErrorBlock)onError |
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. |
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?