sendbirdGroupChannelNavGraph

fun NavGraphBuilder.sendbirdGroupChannelNavGraph(navController: NavController, theme: @Composable (content: @Composable () -> Unit) -> Unit? = { content -> SendbirdTheme { content() } }, startDestination: SendbirdNavigationRoute = SendbirdNavigationRoute.Channels, channelsScreen: @Composable () -> Unit = { ChannelsScreen(navController) }, channelCreationScreen: @Composable () -> Unit = { ChannelCreationScreen(navController) }, channelScreen: @Composable (channelUrl: String) -> Unit = { channelUrl -> ChannelScreen(navController = navController, channelUrl = channelUrl) }, channelSettingsScreen: @Composable (channelUrl: String) -> Unit = { channelUrl -> ChannelSettingsScreen(navController = navController, channelUrl = channelUrl) }, membersScreen: @Composable (channelUrl: String) -> Unit = { channelUrl -> MembersScreen(navController = navController, channelUrl = channelUrl) }, userInvitationScreen: @Composable (channelUrl: String) -> Unit = { channelUrl -> UserInvitationScreen(navController = navController, channelUrl = channelUrl) })

Adds the Sendbird group channel navigation graph to the NavGraphBuilder.

Receiver

The NavGraphBuilder to add the navigation graph.

Since

1.0.0

Parameters

navController

The NavController to navigate between destinations.

theme

The composable function to apply the theme to each screen. Defaults to SendbirdTheme. if null, the theme will not be applied.

startDestination

The SendbirdNavigationRoute to set as the start destination.

channelsScreen

The composable function to display the channels screen. Defaults to ChannelsScreen.

channelCreationScreen

The composable function to display the channel creation screen. Defaults to ChannelCreationScreen.

channelScreen

The composable function to display the channel screen. Defaults to ChannelScreen.

channelSettingsScreen

The composable function to display the channel settings screen. Defaults to ChannelSettingsScreen.

membersScreen

The composable function to display the members screen. Defaults to MembersScreen.

userInvitationScreen

The composable function to display the user invitation screen. Defaults to UserInvitationScreen.