Class Info |
|---|
public class Transport Transport tool entity class. |
Qualifier and Type | Method Name and Description |
|---|---|
String | Obtains the transport category. |
String | getColor() Obtains the transport route color or the background color of the route name. |
String | Obtains the head sign of the transport route. |
String | getMode() Obtains the transport mode of the route. |
String | getName() Obtains the name of the transport route. |
String | Obtains the color of the transport tool name. |
Method |
|---|
public String getCategory() Obtains the transport category. |
Returns
Type | Description |
|---|---|
String | Transport category, such as bus, cable car, tramcar, and train. |
Method |
|---|
public String getColor() Obtains the transport route color or the background color of the route name. |
Returns
Type | Description |
|---|---|
String | Transport route color or the background color of the route name, for example, #FF0000. |
Method |
|---|
public String getHeadsign() Obtains the head sign of the transport route. |
Returns
Type | Description |
|---|---|
String | Head sign of the transport route. |
Method |
|---|
public String getMode() Obtains the transport mode of the route. |
Returns
Type | Description |
|---|---|
String | Transport mode of the route, for example, bus and monorail. |