applyDarkModeStyle

abstract fun applyDarkModeStyle(isDark: Boolean)

Apply the car's dark/light mode to the map style.

Called when the car switches between day and night mode (detected via Session.onCarConfigurationChanged). The implementation should set the appropriate map style (e.g., "Day" or "Night") on the MapViewModel, affecting both the AA and phone MapViews.

Also called once during MapView initialization to apply the current car dark mode state.

Parameters

isDark

True for night/dark mode, false for day/light mode