-
public final class ParticipantsScreenSharingKt
-
-
Method Summary
Modifier and Type Method Description final static UnitParticipantsScreenSharing(Call call, ScreenSharingSession session, Modifier modifier, Boolean isZoomable, VideoRendererStyle style, Function4<Modifier, Call, ParticipantState, VideoRendererStyle, Unit> videoRenderer, Function1<ScreenSharingSession, Unit> screenSharingFallbackContent)Renders all the CallParticipants, based on the number of people in a call and the call state. -
-
Method Detail
-
ParticipantsScreenSharing
@Composable() final static Unit ParticipantsScreenSharing(Call call, ScreenSharingSession session, Modifier modifier, Boolean isZoomable, VideoRendererStyle style, Function4<Modifier, Call, ParticipantState, VideoRendererStyle, Unit> videoRenderer, Function1<ScreenSharingSession, Unit> screenSharingFallbackContent)
Renders all the CallParticipants, 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.session- The screen sharing session which is active.modifier- Modifier for styling.isZoomable- Decide to this screensharing video renderer is zoomable or not.style- Defined properties for styling a single video call track.videoRenderer- A single video renderer renders each individual participant.screenSharingFallbackContent- Fallback content to show when the screen sharing session is loading or not available.
-
-
-
-