-
- All Implemented Interfaces:
-
android.os.Parcelable
public interface EvTripPlanRequest implements Parcelable
Define EvTripPlan request interface that contains the origin and destination points and the whole conditions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEvTripPlanRequest.Builder
-
Method Summary
Modifier and Type Method Description abstract GeoLocationgetStartLocation()Origin coordinate for route request. abstract GeoLocationgetDestinationLocation()Destination coordinate for route request. abstract ArrayList<Waypoint>getWaypoints()Listcontaining the coordinates to via, which requires to drive stop.abstract RoutePreferencesgetRoutePreferences()The avoid option additional condition. abstract ChargingPlanPreferencegetChargingPlanPreference()The avoid option additional condition. abstract IntegergetRouteCount()The maximum route count requested. abstract IntegergetHeading()The heading angle of the vehicle, based on the north clockwise. abstract IntegergetSpeedInMps()The speed of the vehicle. -
-
Method Detail
-
getStartLocation
abstract GeoLocation getStartLocation()
Origin coordinate for route request. Must be set before requesting a route generation.
-
getDestinationLocation
abstract GeoLocation getDestinationLocation()
Destination coordinate for route request. Must be set before requesting a route generation.
-
getWaypoints
abstract ArrayList<Waypoint> getWaypoints()
Listcontaining the coordinates to via, which requires to drive stop.
-
getRoutePreferences
abstract RoutePreferences getRoutePreferences()
The avoid option additional condition.
-
getChargingPlanPreference
abstract ChargingPlanPreference getChargingPlanPreference()
The avoid option additional condition.
-
getRouteCount
abstract Integer getRouteCount()
The maximum route count requested. Should be less than 4 for performance reasons. Default values is 1.
-
getHeading
abstract Integer getHeading()
The heading angle of the vehicle, based on the north clockwise. By default is -1, negative value denotes unspecific heading.
-
getSpeedInMps
abstract Integer getSpeedInMps()
The speed of the vehicle. Used to predict the road to start. By default is 0.
-
-
-
-