tencent cloud

Tencent Real-Time Communication

TUILiveLayoutManager

下载
聚焦模式
字号
最后更新时间: 2025-04-18 16:40:41
Copyright (c) 2024 Tencent. All rights reserved.
Module: TUILiveLayoutManager @ TUIKitEngine
Live stream decoration relevant APIs

TUILiveLayoutManager

TUILiveLayoutObserver

Function List
Description
Live stream layout changes occurred

TUILiveLayoutManager

Function List
Description
Add event callback
Remove event callback

onLiveVideoLayoutChanged

Live stream layout changes occurred
OnLiveVideoLayoutChanged onLiveVideoLayoutChanged = (String roomId, String layoutInfo) {};
Parameter
Description
roomId
room ID
layoutInfo
Latest layout information of the picture

addObserver

Add event callback
void addObserver(TUILiveLayoutObserver observer);
Parameter
Description
observer
The instances being listened to

removeObserver

Remove event callback
void removeObserver(TUILiveLayoutObserver observer);
Parameter
Description
observer
The instances being listened to

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈