-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class InsufficientBatteryLevelInfo implements Parcelable
This structure provides insufficient battery info. It is ONLY for electric vehicles.
-
-
Field Summary
Fields Modifier and Type Field Description private final FloatdistanceToPredictedLocationprivate final FloatestimatedTravelDistance
-
Constructor Summary
Constructors Constructor Description InsufficientBatteryLevelInfo(Float distanceToPredictedLocation, Float estimatedTravelDistance)
-
Method Summary
Modifier and Type Method Description final FloatgetDistanceToPredictedLocation()Distance to upcoming charging station or destination (if there's no upcoming charging station) final FloatgetEstimatedTravelDistance()Estimated travel distance with battery can be consumed -
-
Method Detail
-
getDistanceToPredictedLocation
final Float getDistanceToPredictedLocation()
Distance to upcoming charging station or destination (if there's no upcoming charging station)
-
getEstimatedTravelDistance
final Float getEstimatedTravelDistance()
Estimated travel distance with battery can be consumed
-
-
-
-