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

Link copied to clipboard

Renders the better route prompt suggesting alternative routes.

Link copied to clipboard
abstract fun Dashboard(viewModel: NavigationDashboardViewModel, bottomSheetState: CustomBottomSheetState, onBottomSheetVisibilityChanged: (CustomBottomSheetVisibility) -> Unit, addRoadEventButton: CustomizableDashboardButton)

Renders the navigation dashboard component showing route information, audio controls, and navigation actions.

Link copied to clipboard
abstract fun FinishRoute(viewModel: FinishRouteViewModel, bottomSheetState: CustomBottomSheetState, onBottomSheetVisibilityChanged: (CustomBottomSheetVisibility) -> Unit)

Renders the finish route component shown when navigation is completed.

Link copied to clipboard
abstract fun Indoor(map: Map)

Renders the indoor navigation component showing floor and building information.

Link copied to clipboard
abstract fun Maneuver(viewModel: ManeuverViewModel)

Renders the maneuver visualization component showing the next turn or action.

Link copied to clipboard

Renders map controls (zoom, compass, my location button).

Link copied to clipboard
abstract fun Message(viewModel: MessageViewModel)

Renders the navigation message component.

Link copied to clipboard
abstract fun Minimap(viewModel: MinimapViewModel, size: Dp, opacity: Opacity)

Renders a non-interactive minimap view.

Link copied to clipboard

Renders the route overview component allowing users to see the full route.

Link copied to clipboard
abstract fun SpeedInfo(viewModel: SpeedInfoViewModel)

Renders the speed info component showing current speed, speed limit, and camera warnings.

Link copied to clipboard
abstract fun TrafficLine(viewModel: TrafficLineViewModel, height: Dp, objectsPosition: TrafficLineObjectsPosition)

Renders the traffic line component showing traffic conditions and route objects along the route.