MapboxScreenManager
The Mapbox Navigation Android Auto SDK is prepared with a default experience. This object allows you to customize the experience to meet your needs.
Types
Functions
Link copied to clipboard
This should be used to create a screen from Session.onCreateScreen. If the screen changes the screenEvent observers will be notified with an MapboxScreenOperation.CREATED event.
Link copied to clipboard
Calling this function will pop the back stack of the ScreenManager. If there are no screens on the backstack, it will safely return false. If you are using the ScreenManager and the goBack operation results in an unknown backstack, this will throw an IllegalStateException.
Link copied to clipboard
fun putAll(vararg pairs: Pair<String, MapboxScreenFactory>): MapboxScreenManager
Content copied to clipboard
Allows you to put all defined screen factories into the manager in one operation.
Link copied to clipboard
operator fun <T : MapboxScreenFactory> set(key: String, factory: T): MapboxScreenFactory?
Content copied to clipboard
Returns the previously set screen factory.