DestinationViewModel

class DestinationViewModel(chargingCategoryDisplayName: String, appStore: AppStore, backToSearchResults: BackToSearchResultsUseCase, observeDestinationState: ObserveDestinationStateUseCase, observePreviewVisibility: ObserveDestinationPreviewVisibilityUseCase, observeParkingBreakEnabled: ObserveParkingBreakEnabledUseCase, observeSkipDestinationPreview: ObserveSkipRoutePreviewUseCase, updateNavigationRoutes: UpdateNavigationRoutesUseCase, analytics: DestinationPreviewAnalytics, closeFeedbackUseCase: CloseFeedbackUseCase, previewRoute: PreviewRouteToPreviewResultUseCase, addWaypoint: AddWaypointUseCase, removeWaypoint: RemoveWaypointUseCase, cancelRoutePreview: CancelRoutePreviewUseCase, navigate: NavigateUseCase, favoriteAnalytics: FavoriteAnalytics, cancelRequest: CancelRouteRequestUseCase, searchCategory: SearchCategoryUseCase, searchAnalytics: SearchAnalytics, observeMapMoving: ObserveMapMovingUseCase, openFeedback: OpenFeedbackUseCase, placeWeatherFormatter: PlaceWeatherFormatter, placeWeatherIconProvider: PlaceWeatherIconProvider, batteryCapacity: Flow<Int?>, dashEvLocationProvider: DashEvLocationProvider, chargeRouteHelper: ChargeRouteHelper, categorySearchViewModel: CategorySearchViewModel, routeTrimmer: RouteTrimmer, observeMinChargePoint: ObserveMinChargePoint, fetchRoundTripSocUseCase: FetchRoundTripSocUseCase) : ViewModel

Constructors

Link copied to clipboard
constructor(chargingCategoryDisplayName: String, appStore: AppStore, backToSearchResults: BackToSearchResultsUseCase, observeDestinationState: ObserveDestinationStateUseCase, observePreviewVisibility: ObserveDestinationPreviewVisibilityUseCase, observeParkingBreakEnabled: ObserveParkingBreakEnabledUseCase, observeSkipDestinationPreview: ObserveSkipRoutePreviewUseCase, updateNavigationRoutes: UpdateNavigationRoutesUseCase, analytics: DestinationPreviewAnalytics, closeFeedbackUseCase: CloseFeedbackUseCase, previewRoute: PreviewRouteToPreviewResultUseCase, addWaypoint: AddWaypointUseCase, removeWaypoint: RemoveWaypointUseCase, cancelRoutePreview: CancelRoutePreviewUseCase, navigate: NavigateUseCase, favoriteAnalytics: FavoriteAnalytics, cancelRequest: CancelRouteRequestUseCase, searchCategory: SearchCategoryUseCase, searchAnalytics: SearchAnalytics, observeMapMoving: ObserveMapMovingUseCase, openFeedback: OpenFeedbackUseCase, placeWeatherFormatter: PlaceWeatherFormatter, placeWeatherIconProvider: PlaceWeatherIconProvider, batteryCapacity: Flow<Int?>, dashEvLocationProvider: DashEvLocationProvider, chargeRouteHelper: ChargeRouteHelper, categorySearchViewModel: CategorySearchViewModel, routeTrimmer: RouteTrimmer, observeMinChargePoint: ObserveMinChargePoint, fetchRoundTripSocUseCase: FetchRoundTripSocUseCase)

Properties

Link copied to clipboard
Link copied to clipboard
val arrivalSoc: Flow<Int?>
Link copied to clipboard
val backVisible: Flow<Boolean>
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
val offlineAlertVisible: MutableStateFlow<Boolean>
Link copied to clipboard
val outsideVisibility: MutableStateFlow<Boolean>
Link copied to clipboard
Link copied to clipboard
val returnSoc: Flow<Int?>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun onCancelClicked(stopType: StopPreviewType)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard