Package 

Class InsufficientBatteryLevelInfo

  • All Implemented Interfaces:
    android.os.Parcelable

    
    public final class InsufficientBatteryLevelInfo
     implements Parcelable
                        

    This structure provides insufficient battery info. It is ONLY for electric vehicles.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      InsufficientBatteryLevelInfo(Float distanceToPredictedLocation, Float estimatedTravelDistance)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Float getDistanceToPredictedLocation() Distance to upcoming charging station or destination (if there's no upcoming charging station)
      final Float getEstimatedTravelDistance() Estimated travel distance with battery can be consumed
      • Methods inherited from class java.lang.Object

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

      • InsufficientBatteryLevelInfo

        InsufficientBatteryLevelInfo(Float distanceToPredictedLocation, Float estimatedTravelDistance)
    • Method Detail

      • getDistanceToPredictedLocation

         final Float getDistanceToPredictedLocation()

        Distance to upcoming charging station or destination (if there's no upcoming charging station)