이 페이지는 현재 영어로만 제공되며 한국어 버전은 곧 제공될 예정입니다. 기다려 주셔서 감사드립니다.

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:
(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.