このページは現在英語版のみで提供されており、日本語版も近日中に提供される予定です。ご利用いただきありがとうございます。

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.