Available Layouts
| Layout | Description | Best For |
|---|---|---|
TILE | Grid layout with equally-sized tiles for all participants | Team meetings, group discussions |
SPOTLIGHT | Large view for the other participant, small tile for yourself | One-on-one calls, presentations, webinars |
SIDEBAR | Main speaker with participants in a sidebar | Interviews, panel discussions |
Set Initial Layout
Configure the layout when joining a session usingSessionSettingsBuilder:
- Kotlin
- Java
Change Layout During Call
Switch layouts dynamically during an active call usingsetLayout():
- Kotlin
- Java
Each participant can choose their own layout independently. Changing your layout does not affect other participants.
Listen for Layout Changes
Monitor layout changes usingLayoutListener:
- Kotlin
- Java
Hide Layout Toggle Button
To prevent users from changing the layout, hide the layout toggle button in the call UI:- Kotlin
- Java