Package 

Class AudioCallContentKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit AudioCallContent(Modifier modifier, Call call, Boolean isMicrophoneEnabled, VideoPermissionsState permissions, Function1<CallAction, Unit> onCallAction, String durationPlaceholder, Boolean isShowingHeader, Function1<ColumnScope, Unit> headerContent, Function3<ColumnScope, List<MemberState>, Dp, Unit> detailsContent, Function1<BoxScope, Unit> controlsContent, Function0<Unit> onBackPressed) Audio call content represents the UI of an active audio only call.
      final static Unit AudioOnlyCallContent(Modifier modifier, Call call, Boolean isMicrophoneEnabled, VideoPermissionsState permissions, Boolean isShowingHeader, Function1<ColumnScope, Unit> headerContent, String durationPlaceholder, Function3<ColumnScope, List<ParticipantState>, Dp, Unit> detailsContent, Function1<BoxScope, Unit> controlsContent, Function1<CallAction, Unit> onCallAction, Function0<Unit> onBackPressed) Represents the UI for an active audio-only call.
      final static Unit AudioOnlyCallDetails(Modifier modifier, String duration, List<ParticipantState> participants) Component that displays details for an active audio-only call.
      final static Unit AudioOnlyCallControls(Modifier modifier, Boolean isMicrophoneEnabled, Function1<CallAction, Unit> onCallAction) Component that displays the call controls for an active audio-only call.
      • Methods inherited from class java.lang.Object

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

      • AudioCallContent

        @Deprecated(message = AudioCallContent is deprecated. Use the new AudioOnlyCallContent instead., replaceWith = @ReplaceWith(imports = {}, expression = AudioOnlyCallContent))@Composable() final static Unit AudioCallContent(Modifier modifier, Call call, Boolean isMicrophoneEnabled, VideoPermissionsState permissions, Function1<CallAction, Unit> onCallAction, String durationPlaceholder, Boolean isShowingHeader, Function1<ColumnScope, Unit> headerContent, Function3<ColumnScope, List<MemberState>, Dp, Unit> detailsContent, Function1<BoxScope, Unit> controlsContent, Function0<Unit> onBackPressed)

        Audio call content represents the UI of an active audio only call.

        Parameters:
        modifier - Modifier for styling.
        call - The call includes states and will be rendered with participants.
        isMicrophoneEnabled - weather or not the microphone icon will be enabled or not
        permissions - the permissions required for the call to work (e.g.
        onCallAction - Handler when the user triggers a Call Control Action.
        durationPlaceholder - Content (text) shown while the duration is not available yet
        isShowingHeader - if true, header content is shown
        headerContent - override the header content
        detailsContent - override the details content (middle part of the screen)
        controlsContent - Content is shown that allows users to trigger different actions to control a joined call.
        onBackPressed - Handler when the user taps on the back button.
      • AudioOnlyCallContent

        @Composable() final static Unit AudioOnlyCallContent(Modifier modifier, Call call, Boolean isMicrophoneEnabled, VideoPermissionsState permissions, Boolean isShowingHeader, Function1<ColumnScope, Unit> headerContent, String durationPlaceholder, Function3<ColumnScope, List<ParticipantState>, Dp, Unit> detailsContent, Function1<BoxScope, Unit> controlsContent, Function1<CallAction, Unit> onCallAction, Function0<Unit> onBackPressed)

        Represents the UI for an active audio-only call. By default, it shows the current participants that are in the call.

        Parameters:
        modifier - Modifier for styling.
        call - The call to be rendered.
        isMicrophoneEnabled - Weather or not the microphone icon will show the mic as enabled or not.
        permissions - Android permissions that should be requested.
        isShowingHeader - If true, header content is shown.
        headerContent - Content that overrides the header.
        durationPlaceholder - Content (text) shown while the duration is not available.
        detailsContent - Content that overrides the details (the middle part of the screen).
        controlsContent - Content that allows users to trigger call actions.
        onCallAction - Handler used when the user triggers a CallAction.
        onBackPressed - Handler used when the user taps on the back button.
      • AudioOnlyCallDetails

        @Composable() final static Unit AudioOnlyCallDetails(Modifier modifier, String duration, List<ParticipantState> participants)

        Component that displays details for an active audio-only call.

        Parameters:
        modifier - Modifier for styling.
        duration - The current duration of the call.
        participants - A list of current call participants to be displayed.
      • AudioOnlyCallControls

        @Composable() final static Unit AudioOnlyCallControls(Modifier modifier, Boolean isMicrophoneEnabled, Function1<CallAction, Unit> onCallAction)

        Component that displays the call controls for an active audio-only call.

        Parameters:
        modifier - Modifier for styling.
        isMicrophoneEnabled - Weather or not the microphone icon will show the mic as enabled or not.
        onCallAction - Handler used when the user triggers a CallAction.