Package-level declarations

Functions

Link copied to clipboard
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.

Link copied to clipboard
fun AudioOnlyCallContent(    modifier: Modifier = Modifier,     call: Call,     isMicrophoneEnabled: Boolean,     permissions: VideoPermissionsState = rememberCallPermissionsState( call = call, permissions = listOf( android.Manifest.permission.RECORD_AUDIO, ), ),     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.

Link copied to clipboard
fun AudioOnlyCallControls(modifier: Modifier, isMicrophoneEnabled: Boolean, onCallAction: (CallAction) -> Unit)

Component that displays the call controls for an active audio-only call.

Link copied to clipboard
fun AudioOnlyCallDetails(modifier: Modifier = Modifier, duration: String, participants: List<ParticipantState>)

Component that displays details for an active audio-only call.

Link copied to clipboard
fun CallContent(    call: Call,     modifier: Modifier = Modifier,     layout: LayoutType = LayoutType.DYNAMIC,     permissions: VideoPermissionsState = rememberCallPermissionsState(call = call),     onBackPressed: () -> Unit = {},     onCallAction: (CallAction) -> Unit = { DefaultOnCallActionHandler.onCallAction(call, it) },     appBarContent: @Composable (call: Call) -> Unit = { CallAppBar( call = call, onCallAction = onCallAction, ) },     style: VideoRendererStyle = RegularVideoRendererStyle(),     videoRenderer: @Composable (modifier: Modifier, call: Call, participant: ParticipantState, style: VideoRendererStyle) -> Unit = { videoModifier, videoCall, videoParticipant, videoStyle -> ParticipantVideo( modifier = videoModifier, call = videoCall, participant = videoParticipant, style = videoStyle, ) },     floatingVideoRenderer: @Composable BoxScope.(call: Call, IntSize) -> Unit? = null,     videoContent: @Composable RowScope.(call: Call) -> Unit = { ParticipantsLayout( layoutType = layout, call = call, modifier = Modifier .fillMaxSize() .weight(1f) .padding(bottom = VideoTheme.dimens.spacingXXs), style = style, videoRenderer = videoRenderer, floatingVideoRenderer = floatingVideoRenderer, ) },     videoOverlayContent: @Composable (call: Call) -> Unit = {},     controlsContent: @Composable (call: Call) -> Unit = { ControlActions( modifier = Modifier.wrapContentWidth(), call = call, onCallAction = onCallAction, ) },     enableInPictureInPicture: Boolean = true,     pictureInPictureContent: @Composable (Call) -> Unit = { DefaultPictureInPictureContent(it) },     enableDiagnostics: Boolean = false,     closedCaptionUi: @Composable (Call) -> Unit = {})

Represents the UI in an Active call that shows participants and their video, as well as some extra UI features to control the call settings, browse participants and more.