OutgoingCallContentParams
constructor(call: Call, modifier: Modifier = Modifier, isVideoType: Boolean = true, isShowingHeader: Boolean = true, backgroundContent: @Composable BoxScope.() -> Unit? = null, headerContent: @Composable ColumnScope.() -> Unit? = null, detailsContent: @Composable ColumnScope.(participants: List<MemberState>, topPadding: Dp) -> Unit? = null, controlsContent: @Composable BoxScope.() -> Unit? = null, onBackPressed: () -> Unit = {}, onCallAction: (CallAction) -> Unit = {})
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. When null, the default background is used.
headerContent
Content shown for the call header. When null, VideoComponentFactory.OutgoingCallHeaderContent is used.
detailsContent
Content shown for call details, such as call participant information. When null, VideoComponentFactory.OutgoingCallDetailsContent is used.
controlsContent
Content shown for controlling the call, such as cancelling the call. When null, VideoComponentFactory.OutgoingCallControlsContent is used.
onBackPressed
Handler when the user taps on the back button.
onCallAction
Handler used when the user interacts with Call UI.