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? = {
DefaultCallAppBarLeadingContent(onBackPressed)
}, centerContent: @Composable RowScope.() -> Unit? = {
DefaultCallAppBarCenterContent(call, title)
}, trailingContent: @Composable RowScope.() -> Unit? = {
LeaveCallAction {
onCallAction(LeaveCall)
}
})
Represents the default AppBar that's shown in calls. Exposes handlers for the two default slot component implementations (leading and trailing).