Package 

Class IncomingCallContentKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit IncomingCallContent(Modifier modifier, Call call, Boolean isVideoType, Boolean isShowingHeader, Function1<BoxScope, Unit> backgroundContent, Function1<ColumnScope, Unit> headerContent, Function3<ColumnScope, List<MemberState>, Dp, Unit> detailsContent, Function1<BoxScope, Unit> controlsContent, Function0<Unit> onBackPressed, Function1<CallAction, Unit> onCallAction) Represents the Incoming Call state and UI, when the user receives a call from other people.
      final static Unit IncomingCallContent(Modifier modifier, Call call, Boolean isVideoType, List<MemberState> participants, Boolean isMicrophoneEnabled, Boolean isCameraEnabled, Boolean isShowingHeader, Function1<BoxScope, Unit> backgroundContent, Function1<ColumnScope, Unit> headerContent, Function3<ColumnScope, List<MemberState>, Dp, Unit> detailsContent, Function1<BoxScope, Unit> controlsContent, Function0<Unit> onBackPressed, Function1<CallAction, Unit> onCallAction) Stateless variant of the Incoming call UI, which you can use to build your own custom logic that powers the state and handlers.
      • Methods inherited from class java.lang.Object

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

      • IncomingCallContent

        @Composable() final static Unit IncomingCallContent(Modifier modifier, Call call, Boolean isVideoType, Boolean isShowingHeader, Function1<BoxScope, Unit> backgroundContent, Function1<ColumnScope, Unit> headerContent, Function3<ColumnScope, List<MemberState>, Dp, Unit> detailsContent, Function1<BoxScope, Unit> controlsContent, Function0<Unit> onBackPressed, Function1<CallAction, Unit> onCallAction)

        Represents the Incoming Call state and UI, when the user receives a call from other people.

        Parameters:
        modifier - Modifier for styling.
        call - The call contains states and will be rendered with participants.
        isVideoType - Represent the call type is a video or an audio.
        isShowingHeader - Weather or not the app bar will be shown.
        backgroundContent - Content shown for the call background.
        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.
      • IncomingCallContent

        @Composable() final static Unit IncomingCallContent(Modifier modifier, Call call, Boolean isVideoType, List<MemberState> participants, Boolean isMicrophoneEnabled, Boolean isCameraEnabled, Boolean isShowingHeader, Function1<BoxScope, Unit> backgroundContent, Function1<ColumnScope, Unit> headerContent, Function3<ColumnScope, List<MemberState>, Dp, Unit> detailsContent, Function1<BoxScope, Unit> controlsContent, Function0<Unit> onBackPressed, Function1<CallAction, Unit> onCallAction)

        Stateless variant of the Incoming call UI, which you can use to build your own custom logic that powers the state and handlers.

        Parameters:
        modifier - Modifier for styling.
        call - The call contains states and will be rendered with participants.
        isVideoType - The type of call, Audio or Video.
        participants - List of call members.
        isCameraEnabled - Whether the video should be enabled when entering the call or not.
        isShowingHeader - If the app bar header is shown or not.
        backgroundContent - Content shown for the call background.
        onBackPressed - Handler when the user taps on the back button.
        onCallAction - Handler used when the user interacts with Call UI.