NavigationControlsState

Interface defining all ViewModels required for navigation UI controls.

This interface serves as a container for all navigation-related ViewModels, allowing users to customize individual ViewModels by providing custom implementations.

Use DefaultNavigationControlsState for default implementations, or create a custom implementation using Kotlin delegation to override only specific ViewModels.

See also

for the default implementation

Inheritors

Properties

Link copied to clipboard

ViewModel for better route suggestions that appear during navigation.

Link copied to clipboard

ViewModel that coordinates the visibility and state of all navigation controls.

Link copied to clipboard

ViewModel for the main navigation dashboard with audio controls and route information.

Link copied to clipboard

ViewModel for the finish route button shown when navigation is completed.

Link copied to clipboard

ViewModel for maneuver visualization showing upcoming turn.

Link copied to clipboard

ViewModel that manages the visibility and layout of map controls (zoom, compass, my location).

Link copied to clipboard

ViewModel that manages the visibility and layout of navigation message.

Link copied to clipboard

ViewModel for minimap visualization showing simplified map in circle.

Link copied to clipboard

ViewModel for route overview mode that allows users to see the entire route.

Link copied to clipboard

ViewModel displaying current speed, speed limit and camera warnings.

Link copied to clipboard

ViewModel for traffic line visualization showing traffic conditions and route objects.

Functions

Link copied to clipboard
abstract fun onCleared()

Cleans up all ViewModels and releases resources. Must be called when navigation is finished or the screen is destroyed.