Package 

Class RingingCallContentKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit RingingCallContent(Call call, Modifier modifier, Boolean isVideoType, Boolean isShowingHeader, Function1<ColumnScope, Unit> headerContent, Function3<ColumnScope, List<MemberState>, Dp, Unit> detailsContent, Function1<BoxScope, Unit> controlsContent, Function0<Unit> onBackPressed, Function1<CallAction, Unit> onCallAction, Function0<Unit> onAcceptedContent, Function0<Unit> onRejectedContent, Function0<Unit> onNoAnswerContent, Function9<Modifier, Call, Boolean, Boolean, Function1<ColumnScope, Unit>, Function3<ColumnScope, List<MemberState>, Dp, Unit>, Function1<BoxScope, Unit>, Function0<Unit>, Function1<CallAction, Unit>, Unit> onIncomingContent, Function9<Modifier, Call, Boolean, Boolean, Function1<ColumnScope, Unit>, Function3<ColumnScope, List<MemberState>, Dp, Unit>, Function1<BoxScope, Unit>, Function0<Unit>, Function1<CallAction, Unit>, Unit> onOutgoingContent, Function0<Unit> onIdle) Represents different outgoing/incoming call content based on the call state provided from the call.
      • Methods inherited from class java.lang.Object

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

      • RingingCallContent

        @Composable() final static Unit RingingCallContent(Call call, Modifier modifier, Boolean isVideoType, Boolean isShowingHeader, Function1<ColumnScope, Unit> headerContent, Function3<ColumnScope, List<MemberState>, Dp, Unit> detailsContent, Function1<BoxScope, Unit> controlsContent, Function0<Unit> onBackPressed, Function1<CallAction, Unit> onCallAction, Function0<Unit> onAcceptedContent, Function0<Unit> onRejectedContent, Function0<Unit> onNoAnswerContent, Function9<Modifier, Call, Boolean, Boolean, Function1<ColumnScope, Unit>, Function3<ColumnScope, List<MemberState>, Dp, Unit>, Function1<BoxScope, Unit>, Function0<Unit>, Function1<CallAction, Unit>, Unit> onIncomingContent, Function9<Modifier, Call, Boolean, Boolean, Function1<ColumnScope, Unit>, Function3<ColumnScope, List<MemberState>, Dp, Unit>, Function1<BoxScope, Unit>, Function0<Unit>, Function1<CallAction, Unit>, Unit> onOutgoingContent, Function0<Unit> onIdle)

        Represents different outgoing/incoming call content based on the call state provided from the call.

        Depending on the call state, we show CallContent, IncomingCallContent or OutgoingCallContent respectively.

        Parameters:
        call - The call contains states and will be rendered with participants.
        modifier - Modifier for styling.
        isVideoType - Represent the call type is a video or an audio.
        isShowingHeader - Weather or not the app bar will be shown.
        headerContent - Content shown for the call header.
        detailsContent - Content shown for call details, such as call participant information.
        controlsContent - Content shown for controlling call, such as accepting a call or declining a call.
        onBackPressed - Handler when the user taps on the back button.
        onCallAction - Handler used when the user interacts with Call UI.
        onAcceptedContent - Content is shown when the call is accepted.
        onRejectedContent - Content is shown when the call is rejected.
        onNoAnswerContent - Content is shown when a receiver did not answer on time.