AudioOnlyCallContent

fun AudioOnlyCallContent(modifier: Modifier = Modifier, call: Call, isMicrophoneEnabled: Boolean, permissions: VideoPermissionsState = rememberCallPermissionsState( call = call, permissions = getDefaultPermissionList(isVideoCall = false), ), isShowingHeader: Boolean = true, headerContent: @Composable ColumnScope.() -> Unit? = null, durationPlaceholder: String = "", detailsContent: @Composable ColumnScope.(remoteParticipants: List<ParticipantState>, topPadding: Dp) -> Unit? = null, controlsContent: @Composable BoxScope.() -> Unit? = null, onCallAction: (CallAction) -> Unit = { action: CallAction -> DefaultOnCallActionHandler.onCallAction(call, action) }, onBackPressed: () -> Unit = {})

Represents the UI for an active audio-only call. By default, it shows the current participants that are in the call.

Parameters

modifier

Modifier for styling.

call

The call to be rendered.

isMicrophoneEnabled

Weather or not the microphone icon will show the mic as enabled or not.

permissions

Android permissions that should be requested.

isShowingHeader

If true, header content is shown.

headerContent
durationPlaceholder

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

detailsContent

Content that overrides the details (the middle part of the screen). When null, io.getstream.video.android.compose.theme.VideoComponentFactory.AudioOnlyCallDetailsContent is used.

controlsContent

Content that allows users to trigger call actions. See CallAction. When null, io.getstream.video.android.compose.theme.VideoComponentFactory.AudioOnlyCallControlsContent is used.

onCallAction

Handler used when the user triggers a CallAction.

onBackPressed

Handler used when the user taps on the back button.