TUILiveLayoutManager
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: |
Add event callback
Param | DESC |
observer | The instance being listened to. |
removeObserver:
removeObserver:
- (void)removeObserver: |
Remove event callback
Param | DESC |
observer | The instance being listened to. |