AppData
data class AppData(val state: State = State.FreeDrive.Idle, val mapState: MapState = MapState.Loading, val mapGptState: MapGptState = MapGptState(), val cameraTrackingState: CameraTrackingState, val placesPreviewState: PlacesPreviewState = PlacesPreviewState.Idle, val feedbackSearchResult: DestinationSearchResult? = null, val selectedPlace: SelectedPlace? = null, val selectedWaypoint: DestinationSearchResult? = null, val waypointToBeReplaced: DestinationSearchResult? = null, val fetchingState: FetchingState = FetchingState.None, val tripState: TripState = TripState(), val activeTripState: TripState? = null, val weather: PlaceWeather = PlaceWeather.NoWeather, val navigationManagerIntent: NavigationManagerIntent = NavigationManagerIntent.Idle, val resumeNavigationIntent: ResumeNavigationIntent = ResumeNavigationIntent.Idle, val selectedManeuver: RouteManeuver? = null, val maneuverState: ManeuverState = ManeuverState.Gone, val viewsVisibility: ViewsVisibility = ViewsVisibility(), val allowToEndRoutInOneClick: Boolean = false, val chargingPort: Port? = null, val isCharging: Boolean = false, val lastKnownDestination: LastKnownDestination? = null, val navigationSuggestions: List<DashNavigationSuggestion> = emptyList())
Constructors
Link copied to clipboard
constructor(state: State = State.FreeDrive.Idle, mapState: MapState = MapState.Loading, mapGptState: MapGptState = MapGptState(), cameraTrackingState: CameraTrackingState, placesPreviewState: PlacesPreviewState = PlacesPreviewState.Idle, feedbackSearchResult: DestinationSearchResult? = null, selectedPlace: SelectedPlace? = null, selectedWaypoint: DestinationSearchResult? = null, waypointToBeReplaced: DestinationSearchResult? = null, fetchingState: FetchingState = FetchingState.None, tripState: TripState = TripState(), activeTripState: TripState? = null, weather: PlaceWeather = PlaceWeather.NoWeather, navigationManagerIntent: NavigationManagerIntent = NavigationManagerIntent.Idle, resumeNavigationIntent: ResumeNavigationIntent = ResumeNavigationIntent.Idle, selectedManeuver: RouteManeuver? = null, maneuverState: ManeuverState = ManeuverState.Gone, viewsVisibility: ViewsVisibility = ViewsVisibility(), allowToEndRoutInOneClick: Boolean = false, chargingPort: Port? = null, isCharging: Boolean = false, lastKnownDestination: LastKnownDestination? = null, navigationSuggestions: List<DashNavigationSuggestion> = emptyList())
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
fun AppData.reduceCameraState(factory: CameraStateFactory, currentCameraState: CameraState, from: State, to: State, event: Event, tripState: TripState): CameraState
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun AppData.reduceTrackingState(cameraStateFactory: CameraStateFactory, from: State, to: State, event: Event, tripState: TripState): CameraTrackingState
Link copied to clipboard
fun AppData.reduceViewsVisibility(toState: State, event: Event, mapGptState: MapGptState, tripState: TripState): ViewsVisibility