Class Info |
|---|
public class JamSegment 路况分段原始信息类。 |
Qualifier and Type | Method Name and Description |
|---|---|
int | 获取预计通行时间。 |
| 获取该段路况终点所在位置的经纬度坐标。 | |
float | 获取该段路况终点所在位置的相对索引。 |
float | 获取该段路况长度。 |
int | 获取分段路况类型。 |
| 获取该段路况起点所在位置的经纬度坐标。 | |
float | 获取该段路况起点所在位置的相对索引。 |
String | toString() 获取对象打印信息。 |
Method |
|---|
public int getDuration() 获取预计通行时间。 |
Returns
Type | Description |
|---|---|
int | 预计通行时间,单位: 0.1s。 |
Method |
|---|
public NaviLatLng getEndCoord() 获取该段路况终点所在位置的经纬度坐标。 |
Returns
Type | Description |
|---|---|
该段路况终点所在位置的经纬度坐标。 |
Method |
|---|
public float getEndCrdRelative() 获取该段路况终点所在位置的相对索引。 |
Returns
Type | Description |
|---|---|
float | 该段路况终点所在位置的相对索引。 |
Method |
|---|
public float getSegmentLength() 获取该段路况长度。 |
Returns
Type | Description |
|---|---|
float | 该段路况长度,单位:米。 |
Method |
|---|
public int getSegmentStatus() 获取分段路况类型。 |
Returns
Type | Description |
|---|---|
int | 分段路况类型,参见TrafficStatus。 |
Method |
|---|
public NaviLatLng getStartCoord() 获取该段路况起点所在位置的经纬度坐标。 |
Returns
Type | Description |
|---|---|
该段路况起点所在位置的经纬度坐标。 |