MapboxCarMapInitializer

fun interface MapboxCarMapInitializer

Lazy initialization for the MapInitOptions. The CarContext is not created until the Session has been created. Use this initializer to specify custom initial map options.

Functions

onCreate
Link copied to clipboard
abstract fun onCreate(carContext: CarContext): MapInitOptions

Triggered once the Session reaches the Lifecycle.State.CREATED state.