DestinationViewModel

class DestinationViewModel(chargingCategoryDisplayName: String, appStore: AppStore, backToSearchResults: BackToSearchResultsUseCase, observeDestinationState: ObserveDestinationStateUseCase, observePreviewVisibility: ObserveDestinationPreviewVisibilityUseCase, observeParkingBreakEnabled: ObserveParkingBreakEnabledUseCase, observeSkipDestinationPreview: ObserveSkipRoutePreviewUseCase, updateNavigationRoutes: UpdateNavigationRoutesUseCase, resetSearchState: ResetSearchStateUseCase, 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, configRepository: ConfigRepository, placeWeatherFormatter: PlaceWeatherFormatter, placeWeatherIconProvider: PlaceWeatherIconProvider, batteryCapacity: Flow<Int?>, dashEvLocationProvider: DashEvLocationProvider, chargeRouteHelper: ChargeRouteHelper, searchStore: SearchStore, 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, resetSearchState: ResetSearchStateUseCase, 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, configRepository: ConfigRepository, placeWeatherFormatter: PlaceWeatherFormatter, placeWeatherIconProvider: PlaceWeatherIconProvider, batteryCapacity: Flow<Int?>, dashEvLocationProvider: DashEvLocationProvider, chargeRouteHelper: ChargeRouteHelper, searchStore: SearchStore, 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
val previewVisible: StateFlow<Boolean>
Link copied to clipboard
val returnSoc: Flow<Int?>
Link copied to clipboard
Link copied to clipboard
val titleSingleLine: StateFlow<Boolean>
Link copied to clipboard
Link copied to clipboard

Functions

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