OutgoingCallContent

fun OutgoingCallContent(modifier: Modifier = Modifier, call: Call, isVideoType: Boolean, 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 = {})

Represents the Outgoing Call state and UI, when the user is calling other people.

Parameters

call

The call contains states and will be rendered with participants.

isVideoType

Represent the call type is a video or an audio.

modifier

Modifier for styling.

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.


fun OutgoingCallContent(modifier: Modifier = Modifier, call: Call, isVideoType: Boolean = true, participants: List<MemberState>, 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 = {})

Represents the Outgoing Call state and UI, when the user is calling other people.

Parameters

call

The call contains states and will be rendered with participants.

isVideoType

Represent the call type is a video or an audio.

modifier

Modifier for styling.

participants

A list of participants.

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.