Class TripStatus
-
- All Implemented Interfaces:
public final class TripStatusState of a trip at a particular timestamp.
-
-
Field Summary
Fields Modifier and Type Field Description private final LocationenhancedLocationprivate final List<Location>keyPointsprivate final RouteProgressrouteProgressprivate final BooleanoffRouteprivate final BooleanoffRouteOffGridprivate final NavigationStatusnavigationStatus
-
Constructor Summary
Constructors Constructor Description TripStatus(Location enhancedLocation, List<Location> keyPoints, RouteProgress routeProgress, Boolean offRoute, Boolean offRouteOffGrid, NavigationStatus navigationStatus)
-
Method Summary
Modifier and Type Method Description final LocationgetEnhancedLocation()final List<Location>getKeyPoints()final RouteProgressgetRouteProgress()final BooleangetOffRoute()final BooleangetOffRouteOffGrid()final NavigationStatusgetNavigationStatus()
-
-
-
Constructor Detail
-
TripStatus
TripStatus(Location enhancedLocation, List<Location> keyPoints, RouteProgress routeProgress, Boolean offRoute, Boolean offRouteOffGrid, NavigationStatus navigationStatus)
- Parameters:
enhancedLocation- the user's locationkeyPoints- list of predicted locations.routeProgress- RouteProgress is progress informationoffRoute- true if user is off-route, false otherwise
-
-
Method Detail
-
getEnhancedLocation
final Location getEnhancedLocation()
-
getKeyPoints
final List<Location> getKeyPoints()
-
getRouteProgress
final RouteProgress getRouteProgress()
-
getOffRoute
final Boolean getOffRoute()
-
getOffRouteOffGrid
final Boolean getOffRouteOffGrid()
-
getNavigationStatus
final NavigationStatus getNavigationStatus()
-
-