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, val mapMoving: ObserveMapMovingUseCase, openFeedback: OpenFeedbackUseCase, placeWeatherFormatter: PlaceWeatherFormatter, placeWeatherIconProvider: PlaceWeatherIconProvider, batteryCapacity: Flow<Int?>, dashEvLocationProvider: DashEvLocationProvider, chargeRouteHelper: ChargeRouteHelper, categorySearchViewModel: CategorySearchViewModel, routeTrimmer: RouteTrimmer, getMinChargePoint: GetMinChargePoint, 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, mapMoving: ObserveMapMovingUseCase, openFeedback: OpenFeedbackUseCase, placeWeatherFormatter: PlaceWeatherFormatter, placeWeatherIconProvider: PlaceWeatherIconProvider, batteryCapacity: Flow<Int?>, dashEvLocationProvider: DashEvLocationProvider, chargeRouteHelper: ChargeRouteHelper, categorySearchViewModel: CategorySearchViewModel, routeTrimmer: RouteTrimmer, getMinChargePoint: GetMinChargePoint, 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
Link copied to clipboard
val leftButtonText: Flow<Int?>
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
val rightButtonIcon: Flow<Int?>
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard