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 trackingState: TrackingState, val placesPreviewState: PlacesPreviewState = PlacesPreviewState.Idle, val feedbackSearchResult: DestinationSearchResult? = null, val selectedPlace: SelectedPlace? = null, val selectedWaypoint: 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 audioStageViewState: AudioStageViewState = AudioStageViewState(), val viewsVisibility: ViewsVisibility = ViewsVisibility(), val allowToEndRoutInOneClick: Boolean = false, val chargingPort: Port? = null, val isCharging: Boolean = false, val searchAnchor: Point? = null, val lastKnownDestination: LastKnownDestination? = null, val navigationSuggestions: List<DashNavigationSuggestion> = emptyList())
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 CompassState(val isVisible: Boolean = true, val hideCompassWhenFacingNorth: Boolean = true)
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
sealed class PlacesPreviewState
Link copied to clipboard
sealed class PlaceWeather
Link copied to clipboard
data class RecenterState(val visible: Boolean, val trackingMode: CameraTrackingMode)
Link copied to clipboard
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 TrackingState(val cameraState: CameraState, val recenterState: RecenterState, val compassState: CompassState, val puckTracking: Boolean)
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