OutgoingCallContentParams

data class OutgoingCallContentParams(val call: Call, val modifier: Modifier = Modifier, val isVideoType: Boolean = true, val isShowingHeader: Boolean = true, val backgroundContent: @Composable BoxScope.() -> Unit? = null, val headerContent: @Composable ColumnScope.() -> Unit? = null, val detailsContent: @Composable ColumnScope.(participants: List<MemberState>, topPadding: Dp) -> Unit? = null, val controlsContent: @Composable BoxScope.() -> Unit? = null, val onBackPressed: () -> Unit = {}, val onCallAction: (CallAction) -> Unit = {})

Parameters for VideoComponentFactory.OutgoingCallContent.

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.

Constructors

Link copied to clipboard
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 = {})

Properties

Link copied to clipboard
Link copied to clipboard
val call: Call
Link copied to clipboard
Link copied to clipboard
val detailsContent: @Composable ColumnScope.(participants: List<MemberState>, topPadding: Dp) -> Unit?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val onBackPressed: () -> Unit
Link copied to clipboard