目录

MapNaviStaticInfo

Class Info

public class MapNaviStaticInfo

Navigation statistics information class.

Public Constructor Summary

Constructor Name

public MapNaviStaticInfo()

Basic constructor for MapNaviStaticInfo.

public MapNaviStaticInfo(NaviStaticInfoWTBT dgNaviInfo)

Constructor for walking navigation statistics information.

Public Method Summary

Qualifier and Type

Method Name and Description

SpeedInfo

getAverageSpeed()

Obtains the average speed.

int

getBrakesCount()

Obtains the number of emergency brakes.

long

getCalories()

Obtains the number of burnt calories.

CarbonEmissionsInfo

getCarbonEmissionsInfo()

Obtains the saved carbon emission.

Distance

getConvertedDrivenDist()

Obtains the accumulated driving distance after conversion.

Distance

getConvertedRerouteDist()

Obtains the accumulated distance after the last route deviation.

CrossingAnalysisInfo

getCrossingInfo()

Obtains NavInfo large map statistics.

int

getCruiseDistance()

Obtains the distance driven in cruise mode.

int

getDrivenDist()

Obtains the actual driving distance.

int

getDrivenTime()

Obtains the actual driving time.

int

getEstimateDist()

Obtains the estimated driving distance.

int

getEstimateTime()

Obtains the estimated driving time.

int

getHighestSpeed()

Obtains the highest speed (GPS).

SpeedInfo

getHighestSpeedMatch()

Obtains the highest speed.

int

getmPreRouteSumDist()

Obtains the total driving distance before the last route deviation.

int

getNormalRouteTime()

Obtains the time required for the normal route.

int

getOverSpeedCount()

Obtains the number of overspeeds broadcasted by traffic cameras.

int

getRerouteCount()

Obtains the number of route deviations.

int

getRerouteDist()

Obtains the driving distance after the last route deviation.

long

getRerouteSecond()

Obtains the start time of the last route deviation.

int

getRerouteTime()

Obtains the driving time of the last route deviation.

long

getSlowTime()

Obtains the waiting and jamming time.

long

getStartSecond()

Obtains the navigation start time.

int

getWalkStep()

Obtains the number of walking steps.

Public Constructors

[h2]MapNaviStaticInfo

Constructor

public MapNaviStaticInfo()

Basic constructor for MapNaviStaticInfo.

[h2]MapNaviStaticInfo(NaviStaticInfoWTBT dgNaviInfo)

Constructor

public MapNaviStaticInfo(NaviStaticInfoWTBT dgNaviInfo)

Constructor for walking navigation statistics information.

Parameters

Name

Description

dgNaviInfo

WTBT guidance statistics class.

Public Methods

[h2]getAverageSpeed

Method

public SpeedInfo getAverageSpeed()

Obtains the average speed.

Returns

Type

Description

SpeedInfo

Average speed, which is calculated by dividing the actual driving distance by the actual driving time.

[h2]getBrakesCount

Method

public int getBrakesCount()

Obtains the number of emergency brakes.

Returns

Type

Description

int

Number of emergency brakes.

[h2]getCalories

Method

public long getCalories()

Obtains the number of burnt calories.

Returns

Type

Description

long

Number of burnt calories.

[h2]getCarbonEmissionsInfo

Method

public CarbonEmissionsInfo getCarbonEmissionsInfo()

Obtains the saved carbon emission.

Returns

Type

Description

CarbonEmissionsInfo

Saved carbon emission.

[h2]getConvertedDrivenDist

Method

public Distance getConvertedDrivenDist()

Obtains the accumulated driving distance after conversion.

Returns

Type

Description

Distance

Accumulated driving distance after conversion.

[h2]getConvertedRerouteDist

Method

public Distance getConvertedRerouteDist()

Obtains the accumulated distance after the last route deviation.

Returns

Type

Description

Distance

Accumulated distance after the last route deviation.

[h2]getCrossingInfo

Method

public CrossingAnalysisInfo getCrossingInfo()

Obtains NavInfo large map statistics.

Returns

Type

Description

CrossingAnalysisInfo

NavInfo large map statistics.

[h2]getCruiseDistance

Method

public int getCruiseDistance()

Obtains the distance driven in cruise mode.

Returns

Type

Description

int

Distance driven in cruise mode, in meters.

[h2]getDrivenDist

Method

public int getDrivenDist()

Obtains the actual driving distance.

Returns

Type

Description

int

Actual driving distance, in meters.

[h2]getDrivenTime

Method

public int getDrivenTime()

Obtains the actual driving time.

Returns

Type

Description

int

Actual driving time, including the midway stop time, in seconds.

[h2]getEstimateDist

Method

public int getEstimateDist()

Obtains the estimated driving distance. Route deviation is not considered.

Returns

Type

Description

int

Estimated driving distance, in meters. Route deviation is not considered.

[h2]getEstimateTime

Method

public int getEstimateTime()

Obtains the estimated driving time. Route deviation is not considered.

Returns

Type

Description

int

Estimated driving time, in seconds. Route deviation is not considered.

[h2]getHighestSpeed

Method

public int getHighestSpeed()

Obtains the highest speed (GPS).

Returns

Type

Description

int

Highest speed, in km/h.

[h2]getHighestSpeedMatch

Method

public SpeedInfo getHighestSpeedMatch()

Obtains the highest speed (by positioning during driving).

Returns

Type

Description

SpeedInfo

Highest speed (by positioning during driving).

[h2]getmPreRouteSumDist

Method

public int getmPreRouteSumDist()

Obtains the total driving distance before the last route deviation.

Returns

Type

Description

int

Total driving distance before the last route deviation, in meters.

[h2]getNormalRouteTime

Method

public int getNormalRouteTime()

Obtains the time required for the normal route.

Returns

Type

Description

int

Time required for the normal route, in seconds.

[h2]getOverSpeedCount

Method

public int getOverSpeedCount()

Obtains the number of overspeeds broadcasted by traffic cameras.

Returns

Type

Description

int

Number of overspeeds broadcasted by traffic cameras. If the broadcasting is disabled, the overspeed will not be counted.

[h2]getRerouteCount

Method

public int getRerouteCount()

Obtains the number of route deviations.

Returns

Type

Description

int

Number of route deviations.

[h2]getRerouteDist

Method

public int getRerouteDist()

Obtains the driving distance after the last route deviation.

Returns

Type

Description

int

Driving distance after the last route deviation, in meters.

[h2]getRerouteSecond

Method

public long getRerouteSecond()

Obtains the start time of the last route deviation.

Returns

Type

Description

long

Start time of the last route deviation, in number of seconds counted from 00:00 on the day. For example, 36000 indicates 10:00 on the day.

[h2]getRerouteTime

Method

public int getRerouteTime()

Obtains the driving time of the last route deviation.

Returns

Type

Description

int

Driving time of the last route deviation, in seconds.

[h2]getSlowTime

Method

public long getSlowTime()

Obtains the waiting and jamming time.

Returns

Type

Description

long

Waiting and jamming time, in seconds.

[h2]getStartSecond

Method

public long getStartSecond()

Obtains the navigation start time.

Returns

Type

Description

long

Navigation start time, in number of seconds counted from 00:00 on the day. For example, 36000 indicates 10:00 on the day.

[h2]getWalkStep

Method

public int getWalkStep()

Obtains the number of walking steps.

Returns

Type

Description

int

Number of walking steps.