tencent cloud

All product documents
Tencent Real-Time Communication
TUILiveLayoutManager
Last updated: 2025-02-13 16:31:29
TUILiveLayoutManager
Last updated: 2025-02-13 16:31:29
Copyright (c) 2024 Tencent. All rights reserved.
Module: TUILiveLayoutManager @ TUIKitEngine
Function: Live-Layout APIS, the functions on this webpage only support to LIVE room type.

TUILiveLayoutManager

TUILiveLayoutManager

FuncList
DESC
The layout of the live has changed.
Add event callback
Remove event callback

onLiveVideoLayoutChanged

onLiveVideoLayoutChanged
void onLiveVideoLayoutChanged
(String roomId

String layoutInfo)

The layout of the live has changed.

Param
DESC
layoutInfo
The latest screen layout message.
roomId
roomID

addObserver

addObserver
void addObserver
(Observer observer)

Add event callback

Param
DESC
observer
The instance being listened to.

removeObserver

removeObserver
void removeObserver
(Observer observer)

Remove event callback

Param
DESC
observer
The instance being listened to.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

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