Class Info |
|---|
public class TrafficLightInfo 红绿灯信息类。 |
Qualifier and Type | Method Name and Description |
|---|---|
| 获取红绿灯箭头类型。 | |
| 获取红绿灯颜色。 | |
int | 获取红绿灯倒计时。 |
String | 获取红绿灯Id。 |
| 获取红绿灯位置坐标。 | |
int | 获取剩余几轮。 |
Method |
|---|
public LightArrowType getArrowType() 获取红绿灯箭头类型。 |
Returns
Type | Description |
|---|---|
红绿灯箭头类型。 |
Method |
|---|
public int getCountDown() 获取红绿灯倒计时。 |
Returns
Type | Description |
|---|---|
int | 红绿灯倒计时,单位:秒。 |