tencent cloud

Feedback

TUILiveLayoutManager

Last updated: 2024-12-20 15:06:45
    Copyright (c) 2024 Tencent. All rights reserved.
    Module: TUILiveLayoutManager @ TUIKitEngine
    Function: Live-Layout APIS, the functions on this webpage only support to TUIRoomTypeLive room type.
    
    TUILiveLayoutManager

    TUILiveLayoutObserver

    FuncList
    DESC
    The layout of the live has changed.

    TUILiveLayoutManager

    FuncList
    DESC
    Add event callback
    Remove event callback

    onLiveVideoLayoutChanged:layoutInfo:

    onLiveVideoLayoutChanged:layoutInfo:
    - (void)onLiveVideoLayoutChanged:
    (NSString *)roomId
    layoutInfo:
    (NSString *)layoutInfo

    The layout of the live has changed.

    Param
    DESC
    layoutInfo
    The latest screen layout message.
    roomId
    roomID

    addObserver:

    addObserver:
    - (void)addObserver:
    (id<TUILiveLayoutObserver>)observer

    Add event callback

    Param
    DESC
    observer
    The instance being listened to.

    removeObserver:

    removeObserver:
    - (void)removeObserver:
    (id<TUILiveLayoutObserver>)observer

    Remove event callback

    Param
    DESC
    observer
    The instance being listened to.
    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