目录

SpeedInfo

Class Info

public class SpeedInfo

限速和限速单位实体类。

Public Method Summary

Qualifier and Type

Method Name and Description

String

getSpeedUnit()

获取速度单位。

float

getSpeedValue()

获取当前速度值。

float

getZoneSpeed()

获取区间平均速度。

boolean

isSpotCamera()

获取是否为点限速摄像头路段。

Public Methods

[h2]getSpeedUnit

Method

public String getSpeedUnit()

获取速度单位。

Returns

Type

Description

String

速度单位。

默认: km/h

[h2]getSpeedValue

Method

public float getSpeedValue()

获取当前速度值。

Returns

Type

Description

float

当前速度值。

[h2]getZoneSpeed

Method

public float getZoneSpeed()

获取区间平均速度。

Returns

Type

Description

float

区间平均速度。

[h2]isSpotCamera

Method

public boolean isSpotCamera()

获取是否为点限速摄像头路段。

Returns

Type

Description

boolean

是否为点限速摄像头路段

  • true:是
  • false:否