tencent cloud

All product documents
Tencent Real-Time Communication
TUILiveLayoutManager
Last updated: 2025-02-13 16:31:30
TUILiveLayoutManager
Last updated: 2025-02-13 16:31:30
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.
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
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon