Package-level declarations

Types

Link copied to clipboard
@Serializable
data object Bluetooth : IntroKey
Link copied to clipboard
@Serializable
data object CriticalAlerts : IntroKey
Link copied to clipboard
@Serializable
sealed interface IntroKey : NavKey

The intro flow's screens; sealed so its saved back stack can serialize them on every target.

Link copied to clipboard

What an intro permission screen's primary button should do, given the live permission status.

Link copied to clipboard

Aggregated permission states needed by the intro onboarding flow.

Link copied to clipboard

Platform-agnostic navigator for opening system settings from the intro flow.

Link copied to clipboard

ViewModel for the app introduction flow.

Link copied to clipboard
@Serializable
data object Location : IntroKey
Link copied to clipboard
@Serializable
data object Notifications : IntroKey
Link copied to clipboard
@Serializable
data object Welcome : IntroKey

Properties

Link copied to clipboard

Provides platform-specific permission states to the intro nav graph.

Link copied to clipboard

Provides platform-specific settings navigation to the intro screens.

Functions

Link copied to clipboard
fun AppIntroductionScreen(onDone: () -> Unit, viewModel: IntroViewModel)

Main application introduction screen. This Composable hosts the navigation flow and hoists the permission states.

Link copied to clipboard

Maps a PermissionStatus to the primary action for an intro permission screen.

Link copied to clipboard