Package-level declarations

Types

Link copied to clipboard
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())
Link copied to clipboard
Link copied to clipboard
sealed class AppError
Link copied to clipboard
sealed class AppNotification
Link copied to clipboard
open class AppStore(initialState: State = FreeDrive.Idle, logger: Logger, scope: CoroutineScope, appDataReducer: AppDataReducer, appDataFactory: AppDataFactory)
Link copied to clipboard
data class AudioStageViewState(val isVisible: Boolean = true, val viewType: AudioStateViewType = SMALL)
Link copied to clipboard
data class CameraButtonState(val visible: Boolean, val cameraTrackingMode: CameraTrackingMode)
Link copied to clipboard
data class CameraTrackingState(val cameraState: CameraState, val cameraButtonState: CameraButtonState, val puckTracking: Boolean, val recenterPillVisible: Boolean)
Link copied to clipboard
class ConnectivityError(val type: ConnectivityErrorType, val throwable: Throwable? = null, val message: String? = null) : AppError
Link copied to clipboard
sealed class Event
Link copied to clipboard
Link copied to clipboard
data class LastKnownDestination(val placeName: String, val coordinate: Point)
Link copied to clipboard
Link copied to clipboard
sealed class MapState
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed class PlaceWeather
Link copied to clipboard
Link copied to clipboard
interface ReturnState

Defines where to return from the RoutePreview and nested states.

Link copied to clipboard
class RoutingError(val throwable: Throwable?, val message: String? = null) : AppError
Link copied to clipboard
class SearchError(val throwable: Throwable? = null, val message: String? = null) : AppError
Link copied to clipboard
Link copied to clipboard
sealed class SelectedPlace
Link copied to clipboard
sealed class State
Link copied to clipboard
data class StateTransition(val from: State, val appDataFrom: AppData, val to: State, val appDataTo: AppData, val event: Event)
Link copied to clipboard
Link copied to clipboard
data class TripState(val waypoints: List<DestinationSearchResult> = emptyList(), val markers: List<Marker> = emptyList(), val routes: List<NavigationRoute> = emptyList(), val fasterRoutes: List<FasterRouteMetadata> = emptyList(), val routeWithChargers: NavigationRoute? = null, val currentLegIndex: Int = 0, savedState: TripState? = null)

Properties

Functions