-
public final class ParticipantsLayoutKt
-
-
Method Summary
Modifier and Type Method Description final static UnitParticipantsLayout(Call call, Modifier modifier, VideoRendererStyle style, LayoutType layoutType, Function4<Modifier, Call, ParticipantState, VideoRendererStyle, Unit> videoRenderer, Function3<BoxScope, Call, IntSize, Unit> floatingVideoRenderer, Function1<ScreenSharingSession, Unit> screenSharingFallbackContent)Renders all the participants, based on the number of people in a call and the call state. -
-
Method Detail
-
ParticipantsLayout
@Composable() final static Unit ParticipantsLayout(Call call, Modifier modifier, VideoRendererStyle style, LayoutType layoutType, Function4<Modifier, Call, ParticipantState, VideoRendererStyle, Unit> videoRenderer, Function3<BoxScope, Call, IntSize, Unit> floatingVideoRenderer, Function1<ScreenSharingSession, Unit> screenSharingFallbackContent)
Renders all the participants, based on the number of people in a call and the call state. Also takes into account if there are any screen sharing sessions active and adjusts the UI accordingly.
- Parameters:
call- The call that contains all the participants state and tracks.modifier- Modifier for styling.style- Defined properties for styling a single video call track.layoutType- The type of layout.videoRenderer- A single video renderer renders each individual participant.screenSharingFallbackContent- Fallback content to show when the screen sharing session is loading or not available.
-
-
-
-