NavigationControlsContent
Interface defining all customizable navigation control components.
Allows users to customize individual controls by providing custom implementations for specific components (e.g., custom colors, icons, or completely replacing the component).
Use DefaultNavigationControlsContent for default implementations, or create a custom implementation using Kotlin delegation to override only specific components:
object MyNavigationControlsContent : NavigationControlsContent by DefaultNavigationControlsContent {
@Composable
override fun TrafficLine(
viewModel: TrafficLineViewModel,
height: Dp,
objectsPosition: TrafficLineObjectsPosition,
) {
// Custom implementation with custom colors
TrafficLineComposable(
viewModel = viewModel,
height = height,
objectsPosition = objectsPosition,
colors = myCustomColors,
icons = myCustomIcons
)
}
}Inheritors
Functions
Renders the better route prompt suggesting alternative routes.
Renders the navigation dashboard component showing route information, audio controls, and navigation actions.
Renders the finish route component shown when navigation is completed.
Renders the indoor navigation component showing floor and building information.
Renders the maneuver visualization component showing the next turn or action.
Renders map controls (zoom, compass, my location button).
Renders the navigation message component.
Renders a non-interactive minimap view.
Renders the route overview component allowing users to see the full route.
Renders the speed info component showing current speed, speed limit, and camera warnings.
Renders the traffic line component showing traffic conditions and route objects along the route.