Package 

Class CallLobbyKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit CallLobby(Modifier modifier, Call call, User user, Boolean isCameraEnabled, Boolean isMicrophoneEnabled, ParticipantState.Video video, VideoPermissionsState permissions, Function1<View, Unit> onRendered, Function1<ParticipantState.Video, Unit> onRenderedContent, Function0<Unit> onDisabledContent, Modifier videoPreviewModifier, Function1<BoxScope, Unit> participantLabelContent, Function1<CallAction, Unit> onCallAction, Function2<Modifier, Call, Unit> lobbyControlsContent) Represents the UI in a preview call that renders a local video track to pre-display a video before joining a call.
      final static Unit CallLobby(Modifier modifier, Call call, User user, Alignment labelPosition, Boolean isCameraEnabled, Boolean isMicrophoneEnabled, ParticipantState.Video video, VideoPermissionsState permissions, Function1<View, Unit> onRendered, Function1<ParticipantState.Video, Unit> onRenderedContent, Function0<Unit> onDisabledContent, Function1<CallAction, Unit> onCallAction, Function2<Modifier, Call, Unit> lobbyControlsContent)
      • Methods inherited from class java.lang.Object

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

      • CallLobby

        @Composable() final static Unit CallLobby(Modifier modifier, Call call, User user, Boolean isCameraEnabled, Boolean isMicrophoneEnabled, ParticipantState.Video video, VideoPermissionsState permissions, Function1<View, Unit> onRendered, Function1<ParticipantState.Video, Unit> onRenderedContent, Function0<Unit> onDisabledContent, Modifier videoPreviewModifier, Function1<BoxScope, Unit> participantLabelContent, Function1<CallAction, Unit> onCallAction, Function2<Modifier, Call, Unit> lobbyControlsContent)

        Represents the UI in a preview call that renders a local video track to pre-display a video before joining a call.

        Parameters:
        modifier - Modifier for styling.
        call - The call includes states and will be rendered with participants.
        user - A user to display their name and avatar image on the preview.
        video - A participant video to render on the preview renderer.
        permissions - Android permissions that should be required to render a video call properly.
        onRendered - An interface that will be invoked when the video is rendered.
        onRenderedContent - A video renderer, which renders a local video track before joining a call.
        onDisabledContent - Content is shown that a local camera is disabled.
        videoPreviewModifier - Modifier applied to the Box that wraps the local video preview.
        participantLabelContent - Slot for the participant label overlaid on the preview.
        onCallAction - Handler when the user triggers a Call Control Action.
        lobbyControlsContent - Content is shown that allows users to trigger different actions to control a preview call.
      • CallLobby

        @Deprecated(message = Use CallLobby with the participantLabelContent slot for full control over the lobby label. Pass `{}` to hide it, or override to customize content and position., replaceWith = @ReplaceWith(imports = {}, expression = CallLobby(modifier = modifier, call = call, user = user, isCameraEnabled = isCameraEnabled, isMicrophoneEnabled = isMicrophoneEnabled, video = video, permissions = permissions, onRendered = onRendered, onRenderedContent = onRenderedContent, onDisabledContent = onDisabledContent, onCallAction = onCallAction, lobbyControlsContent = lobbyControlsContent)))@Composable() final static Unit CallLobby(Modifier modifier, Call call, User user, Alignment labelPosition, Boolean isCameraEnabled, Boolean isMicrophoneEnabled, ParticipantState.Video video, VideoPermissionsState permissions, Function1<View, Unit> onRendered, Function1<ParticipantState.Video, Unit> onRenderedContent, Function0<Unit> onDisabledContent, Function1<CallAction, Unit> onCallAction, Function2<Modifier, Call, Unit> lobbyControlsContent)