Package 

Interface EvTripPlanRequest

  • All Implemented Interfaces:
    android.os.Parcelable

    
    public interface EvTripPlanRequest
     implements Parcelable
                        

    Request type for ev trip plan request.

    Use the builder or factory methods to construct instances with required fields. Optional fields use SDK defaults when omitted.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public final class EvTripPlanRequest.Builder

      Type used by the SDK for builder.

      See the parent package overview and related service entry points for usage and threading.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • getStartLocation

         abstract GeoLocation getStartLocation()

        Origin coordinate for route request. Must be set before requesting a route generation.

      • getWaypoints

         abstract ArrayList<Waypoint> getWaypoints()

        List containing the coordinates to via, which requires to drive stop.

      • 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.