Package 

Class FloatingParticipantVideoKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit FloatingParticipantVideo(BoxScope $self, Modifier modifier, Call call, ParticipantState participant, IntSize parentBounds, Alignment alignment, VideoRendererStyle style, Function1<ParticipantState, Unit> videoRenderer) Represents a floating item used to feature a participant video, usually the local participant.
      final static Unit DefaultFloatingParticipantVideo(BoxScope $self, Call call, ParticipantState me, List<ParticipantState> callParticipants, IntSize parentSize, VideoRendererStyle style)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • FloatingParticipantVideo

        @Composable() final static Unit FloatingParticipantVideo(BoxScope $self, Modifier modifier, Call call, ParticipantState participant, IntSize parentBounds, Alignment alignment, VideoRendererStyle style, Function1<ParticipantState, Unit> videoRenderer)

        Represents a floating item used to feature a participant video, usually the local participant. This component must be used inside Box.

        Parameters:
        modifier - Modifier for styling.
        call - The call containing state.
        participant - The participant to render.
        parentBounds - Bounds of the parent, used to constrain the component to the parent bounds, when dragging the floating UI around the screen.
        alignment - Determines where the floating participant video will be placed.
        style - Defined properties for styling a single video call track.
        videoRenderer - A single video renderer that renders the participant.