IntroViewModel

ViewModel for the app introduction flow.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
expect open fun addCloseable(closeable: AutoCloseable)
expect fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
expect fun <T : AutoCloseable> getCloseable(key: String): T?
Link copied to clipboard
fun getNextKey(currentKey: NavKey, allPermissionsGranted: Boolean): NavKey?

Determines the next navigation key based on the current key and the state of permissions. The flow hierarchy is: Core Connection -> Shared Location -> Notifications -> Done.