AudioCallContent

fun AudioCallContent(modifier: Modifier = Modifier, call: Call, isMicrophoneEnabled: Boolean, permissions: VideoPermissionsState = rememberCallPermissionsState( call = call, permissions = listOf( android.Manifest.permission.RECORD_AUDIO, ), ), onCallAction: (CallAction) -> Unit = { action: CallAction -> DefaultOnCallActionHandler.onCallAction(call, action) }, durationPlaceholder: String = "", isShowingHeader: Boolean = true, headerContent: @Composable ColumnScope.() -> Unit? = null, detailsContent: @Composable ColumnScope.(participants: List<MemberState>, topPadding: Dp) -> Unit? = null, controlsContent: @Composable BoxScope.() -> Unit? = null, onBackPressed: () -> Unit = {})

Audio call content represents the UI of an active audio only call.

Parameters

call

The call includes states and will be rendered with participants.

modifier

Modifier for styling.

isMicrophoneEnabled

weather or not the microphone icon will be enabled or not

permissions

Android permissions that should be required to render a video call properly.

onBackPressed

Handler when the user taps on the back button.

onCallAction

Handler when the user triggers a Call Control Action.

controlsContent

Content is shown that allows users to trigger different actions to control a joined call.

durationPlaceholder

Content (text) shown while the duration is not available yet

isShowingHeader

if true, header content is shown

headerContent

override the header content

detailsContent

override the details content (middle part of the screen)