-
public final class IncomingCallContentParamsParameters for VideoComponentFactory.IncomingCallContent.
-
-
Field Summary
Fields Modifier and Type Field Description private final Callcallprivate final Modifiermodifierprivate final BooleanisVideoTypeprivate final BooleanisShowingHeaderprivate final Function1<BoxScope, Unit>backgroundContentprivate final Function1<ColumnScope, Unit>headerContentprivate final Function3<ColumnScope, List<MemberState>, Dp, Unit>detailsContentprivate final Function1<BoxScope, Unit>controlsContentprivate final Function0<Unit>onBackPressedprivate final Function1<CallAction, Unit>onCallAction
-
Constructor Summary
Constructors Constructor Description IncomingCallContentParams(Call call, Modifier modifier, 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)
-
Method Summary
Modifier and Type Method Description final CallgetCall()final ModifiergetModifier()final BooleangetIsVideoType()final BooleangetIsShowingHeader()final Function1<BoxScope, Unit>getBackgroundContent()final Function1<ColumnScope, Unit>getHeaderContent()final Function3<ColumnScope, List<MemberState>, Dp, Unit>getDetailsContent()final Function1<BoxScope, Unit>getControlsContent()final Function0<Unit>getOnBackPressed()final Function1<CallAction, Unit>getOnCallAction()-
-
Constructor Detail
-
IncomingCallContentParams
IncomingCallContentParams(Call call, Modifier modifier, 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)
- Parameters:
call- The call that contains all the participants state and tracks.modifier- Modifier for styling.isVideoType- Represents whether the call type is a video or an audio.isShowingHeader- Whether or not the app bar is 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 the call, such as accepting or declining.onBackPressed- Handler when the user taps on the back button.onCallAction- Handler used when the user interacts with Call UI.
-
-
Method Detail
-
getCall
final Call getCall()
-
getModifier
final Modifier getModifier()
-
getIsVideoType
final Boolean getIsVideoType()
-
getIsShowingHeader
final Boolean getIsShowingHeader()
-
getBackgroundContent
final Function1<BoxScope, Unit> getBackgroundContent()
-
getHeaderContent
final Function1<ColumnScope, Unit> getHeaderContent()
-
getDetailsContent
final Function3<ColumnScope, List<MemberState>, Dp, Unit> getDetailsContent()
-
getControlsContent
final Function1<BoxScope, Unit> getControlsContent()
-
getOnBackPressed
final Function0<Unit> getOnBackPressed()
-
getOnCallAction
final Function1<CallAction, Unit> getOnCallAction()
-
-
-
-