object Companion


Link copied to clipboard
fun current(): MapboxScreenEvent?

Get the last MapboxScreenEvent. This will give you the top of the backstack.

Link copied to clipboard
fun push(key: String)

Push a screen to the back stack. Be aware that there must be less than 5 Templates at a time.

Link copied to clipboard
fun replaceTop(key: String)

Replace the back stack with a screen on top.


Link copied to clipboard
val screenEvent: SharedFlow<MapboxScreenEvent>

This gives you the ability to observe the MapboxCarScreen in use. If the ScreenManager is used directly this state will become inconsistent. Use clear in these cases.