Package 

Class TravelPoint

  • All Implemented Interfaces:
    android.os.Parcelable

    
    public final class TravelPoint
     implements Parcelable
                        

    Data class that defines Travel Point model, which is a location user would like to travel through using a route.

    This is a general concept applied to origin, waypoints and final destination.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final GeoLocation getLocation() The GeoLocation information of current travel point passed in through route request.
      final Boolean getAutoPlanned() Check whether current travel point is automatically added by smart trip planning, for example EV trip planning function.
      final ChargingPlan getChargingPlan() Get the information for how to charge vehicle at this location.
      • Methods inherited from class android.os.Parcelable

        describeContents, writeToParcel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getAutoPlanned

         final Boolean getAutoPlanned()

        Check whether current travel point is automatically added by smart trip planning, for example EV trip planning function.

      • getChargingPlan

         final ChargingPlan getChargingPlan()

        Get the information for how to charge vehicle at this location. The value will only be valid when charging is planned at this location. This only provides information related to the charging action. For detailed static or dynamic information of the charging station, please use the placeId in location to query from Entity Service, for example charger brand, open hours, or nearby amenities.