PassengerViewModel

class PassengerViewModel(observeEnhancedLocation: ObserveEnhancedLocationUseCase, observeRouteProgress: ObserveRouteProgressUseCase, observeActiveRouteUseCase: ObserveActiveRouteUseCase, observerDestinationMarkersUseCase: ObserverActiveRouteDestinationsMarkersUseCase, observeInitialLocation: ObserveInitialLocationUseCase, navigationTripSessionHolder: NavigationTripSessionHolder, navigationStateListener: NavigationStateListener) : ViewModel

Constructors

Link copied to clipboard
constructor(observeEnhancedLocation: ObserveEnhancedLocationUseCase, observeRouteProgress: ObserveRouteProgressUseCase, observeActiveRouteUseCase: ObserveActiveRouteUseCase, observerDestinationMarkersUseCase: ObserverActiveRouteDestinationsMarkersUseCase, observeInitialLocation: ObserveInitialLocationUseCase, navigationTripSessionHolder: NavigationTripSessionHolder, navigationStateListener: NavigationStateListener)

Properties

Link copied to clipboard
val activeRoute: Flow<List<NavigationRoute>>
Link copied to clipboard
val currentRouteProgress: Flow<RouteProgress>
Link copied to clipboard
Link copied to clipboard
val enhancedLocation: Flow<Location>
Link copied to clipboard
val initialLocation: MutableStateFlow<Location?>

Functions

Link copied to clipboard
Link copied to clipboard
fun onResume()