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 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 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
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
Link copied to clipboard
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
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
interface PlacesPreviewState
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
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)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun CameraTrackingMode.toggleBetween(first: CameraTrackingMode, second: CameraTrackingMode): CameraTrackingMode
Link copied to clipboard
fun CameraTrackingMode.toggleBetweenOrDefault(default: CameraTrackingMode, second: CameraTrackingMode): CameraTrackingMode