Package-level declarations
Functions
Link copied to clipboard
fun CallAppBar(call: Call, modifier: Modifier = Modifier, onBackPressed: () -> Unit = {}, onCallAction: (CallAction) -> Unit = {}, title: String = stringResource(id = R.string.stream_video_default_app_bar_title), leadingContent: @Composable RowScope.() -> Unit? = {
with(VideoTheme.componentFactory) {
CallAppBarLeadingContent(
params = CallAppBarLeadingContentParams(
call = call,
onBackPressed = onBackPressed,
),
)
}
}, centerContent: @Composable RowScope.() -> Unit? = {
with(VideoTheme.componentFactory) {
CallAppBarCenterContent(
params = CallAppBarCenterContentParams(
call = call,
title = title,
),
)
}
}, trailingContent: @Composable RowScope.() -> Unit? = {
with(VideoTheme.componentFactory) {
CallAppBarTrailingContent(
params = CallAppBarTrailingContentParams(
call = call,
onCallAction = onCallAction,
),
)
}
})
Represents the default AppBar that's shown in calls. Exposes handlers for the two default slot component implementations (leading and trailing).