tencent cloud

Feedback

TUILiveListManager

Last updated: 2024-08-30 16:25:51
    Copyright (c) 2024 Tencent. All rights reserved.
    Module: TUILiveListManager @ TUIKitEngine.
    Function: Live APIs.
    
    
    TUILiveListManager

    TUILiveListManagerObserver

    FuncList
    DESC
    Live information changed callback.

    TUILiveListManager

    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.

    StructType

    FuncList
    DESC
    Live information.

    onLiveInfoChanged:modifyFlag:

    onLiveInfoChanged:modifyFlag:
    - (void)onLiveInfoChanged:
    (TUILiveInfo *)liveInfo
    modifyFlag:
    (TUILiveModifyFlag)modifyFlag

    Live information changed callback.

    Param
    DESC
    liveInfo
    Live information.
    modifyFlag
    Modifiable parameter. More details, see TUILiveModifyFlag.

    setObserver:

    setObserver:
    - (void)setObserver:
    (id<TUILiveListManagerObserver>)observer

    Set the event observer.

    You can use TUILiveListManagerObserver to receive live room event.
    Param
    DESC
    observer
    Listening instance.

    setLiveInfo:modifyFlag:onSuccess:onError:

    setLiveInfo:modifyFlag:onSuccess:onError:
    - (void)setLiveInfo:
    (TUILiveInfo *)liveInfo
    modifyFlag:
    (TUILiveModifyFlag)modifyFlag
    onSuccess:
    (TUISuccessBlock)onSuccess
    onError:
    (TUIErrorBlock)onError

    Modify live information.

    Param
    DESC
    liveInfo
    Live information.
    modifyFlag
    Modifiable parameter. More details, see TUILiveModifyFlag.

    getLiveInfo:onSuccess:onError:

    getLiveInfo:onSuccess:onError:
    - (void)getLiveInfo:
    (NSString *)roomId
    onSuccess:
    (TUILiveInfoBlock)onSuccess
    onError:
    (TUIErrorBlock)onError

    Get live information.

    Param
    DESC
    roomId
    Room ID.

    fetchLiveList:count:onSuccess:onError:

    fetchLiveList:count:onSuccess:onError:
    - (void)fetchLiveList:
    (NSString *)cursor
    count:
    (NSInteger)count
    onSuccess:
    (TUILiveInfoListBlock)onSuccess
    onError:
    (TUIErrorBlock)onError

    Get a list of live rooms, with a maximum of 50 returned per fetch.

    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.

    TUILiveInfo

    TUILiveInfo

    Live information.

    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
    Room information (Read only). More details, see TUIRoomInfo.
    viewCount
    Total views (the count of user entering live room).
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support