Package com.baidu.navisdk.adapter.struct
Class BNaviResultInfo
- java.lang.Object
-
- com.baidu.navisdk.adapter.struct.BNaviResultInfo
-
public class BNaviResultInfo extends java.lang.Object
Author: v_duanpeifeng Time: 2020-03-19 Description: 导航结算数据
-
-
Constructor Summary
Constructors Constructor Description BNaviResultInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getAverageSpeed()
平均速度(单位:km/h)float
getMaxSpeed()
最高速度(单位:km/h)int
getSpeedNum()
超速次数float
getTotalDistance()
导航实际里程(单位:米)long
getTotalTime()
导航实际用时(单位:秒)void
setAverageSpeed(float averageSpeed)
void
setMaxSpeed(float maxSpeed)
void
setSpeedNum(int speedNum)
void
setTotalDistance(float totalDistance)
void
setTotalTime(long totalTime)
java.lang.String
toString()
-
-
-
Method Detail
-
getTotalTime
public long getTotalTime()
导航实际用时(单位:秒)
-
setTotalTime
public void setTotalTime(long totalTime)
-
getTotalDistance
public float getTotalDistance()
导航实际里程(单位:米)
-
setTotalDistance
public void setTotalDistance(float totalDistance)
-
getAverageSpeed
public float getAverageSpeed()
平均速度(单位:km/h)
-
setAverageSpeed
public void setAverageSpeed(float averageSpeed)
-
getMaxSpeed
public float getMaxSpeed()
最高速度(单位:km/h)
-
setMaxSpeed
public void setMaxSpeed(float maxSpeed)
-
getSpeedNum
public int getSpeedNum()
超速次数
-
setSpeedNum
public void setSpeedNum(int speedNum)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-