Package-level declarations

Types

Link copied to clipboard
class ManeuverDistanceFormatter(nowInstructionThreshold: Double, distanceFormatter: ExtendedDistanceFormatter, resources: Resources) : DistanceFormatter
Link copied to clipboard
data class ManeuverViewOptions(val isDestinationViewEnabled: Boolean = true, val isSubManeuverEnabled: Boolean = true, val isPrimaryTextEnabled: Boolean = true, val isPrimaryTextVisibleOnArrival: Boolean = true, val hasShadow: Boolean = true, val isClickable: Boolean = true, val hasPrimaryTextPadding: Boolean = true, val isAnimated: Boolean = true)
Link copied to clipboard
class ManeuverViewState(val visible: State<Boolean> = mutableStateOf(true), val maneuverWithShields: State<Pair<Maneuver, Set<RouteShield>>?> = mutableStateOf(null), val destinationInfo: State<DestinationSearchResult?> = mutableStateOf(null), val isWaypointArrival: State<Boolean> = mutableStateOf(false), val isWaypointPreArrival: State<Boolean> = mutableStateOf(false), val favoriteStatus: State<PlaceFavoriteStatus?> = mutableStateOf(null), val options: ManeuverViewOptions = ManeuverViewOptions(), val stepDistanceRemainingText: State<Pair<String, String?>> = mutableStateOf("" to ""), val destinationEvLocation: State<DashEvLocation?> = mutableStateOf(null), val onPrimaryInfoClick: () -> Unit = {}, val onFavoriteClick: (DestinationSearchResult, PlaceFavoriteStatus) -> Unit = { _, _ -> }, val onFavoriteTypePicked: (DestinationSearchResult, TypePickingResult) -> Unit = { _, _ -> })

Functions

Link copied to clipboard
fun ManeuverView(state: ManeuverViewState, modifier: Modifier = Modifier, minimized: Boolean = false)
Link copied to clipboard
fun UpcomingManeuversView(modifier: Modifier = Modifier, viewModel: UpcomingManeuversViewModel = koinViewModel(), mainDistanceFormatter: ExtendedDistanceFormatter = get(), upcomingDistanceFormatter: ExtendedDistanceFormatter = get(named(DistanceRounding.OneMeter)), dashEvLocationProvider: DashEvLocationProvider = get())