Package-level declarations

Functions

Link copied to clipboard
fun AudioCallContent(modifier: Modifier = Modifier, call: Call, isMicrophoneEnabled: Boolean, permissions: VideoPermissionsState = rememberCallPermissionsState( call = call, permissions = getDefaultPermissionList(isVideoCall = false), ), 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 = 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.

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 = { DefaultAppBarSlot(call, onBackPressed, onCallAction) }, style: VideoRendererStyle = RegularVideoRendererStyle(), videoRenderer: @Composable (modifier: Modifier, call: Call, participant: ParticipantState, style: VideoRendererStyle) -> Unit = { videoModifier, videoCall, videoParticipant, videoStyle -> DefaultVideoRendererSlot(videoModifier, videoCall, videoParticipant, videoStyle) }, floatingVideoRenderer: @Composable BoxScope.(call: Call, IntSize) -> Unit? = null, videoContent: @Composable RowScope.(call: Call) -> Unit = { DefaultVideoContentSlot(call, layout, style, videoRenderer, floatingVideoRenderer) }, videoOverlayContent: @Composable (call: Call) -> Unit = { DefaultVideoOverlaySlot(call) }, controlsContent: @Composable (call: Call) -> Unit = { DefaultControlsSlot(call, onCallAction) }, enableInPictureInPicture: Boolean, pictureInPictureContent: @Composable (Call) -> Unit = { DefaultPictureInPictureSlot(it) }, enableDiagnostics: Boolean = false, closedCaptionUi: @Composable (Call) -> Unit = { DefaultClosedCaptionsSlot(call) })

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 = { DefaultAppBarSlot(call, onBackPressed, onCallAction) }, style: VideoRendererStyle = RegularVideoRendererStyle(), videoRenderer: @Composable (modifier: Modifier, call: Call, participant: ParticipantState, style: VideoRendererStyle) -> Unit = { videoModifier, videoCall, videoParticipant, videoStyle -> DefaultVideoRendererSlot(videoModifier, videoCall, videoParticipant, videoStyle) }, floatingVideoRenderer: @Composable BoxScope.(call: Call, IntSize) -> Unit? = null, videoContent: @Composable RowScope.(call: Call) -> Unit = { DefaultVideoContentSlot(call, layout, style, videoRenderer, floatingVideoRenderer) }, videoOverlayContent: @Composable (call: Call) -> Unit = { DefaultVideoOverlaySlot(call) }, controlsContent: @Composable (call: Call) -> Unit = { DefaultControlsSlot(call, onCallAction) }, pictureInPictureConfiguration: PictureInPictureConfiguration = PictureInPictureConfiguration(true), pictureInPictureContent: @Composable (Call) -> Unit = { DefaultPictureInPictureSlot(it) }, enableDiagnostics: Boolean = false, closedCaptionUi: @Composable (Call) -> Unit = { DefaultClosedCaptionsSlot(call) }, videoModerationBlurUi: @Composable (Call) -> Unit = { VideoTheme.componentFactory.CallContentVideoModerationBlur( params = CallContentVideoModerationBlurParams(call = call), ) }, videoModerationWarningUi: @Composable (Call, String?) -> Unit = { _, message -> VideoTheme.componentFactory.CallContentVideoModerationWarning( params = CallContentVideoModerationWarningParams(call = call, message = message), ) })

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.