public class Vehicle
extends java.lang.Object
See Transit details for more detail.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
icon
icon contains the URL for an icon associated with this vehicle type. |
java.lang.String |
localIcon
localIcon contains the URL for an icon based on the local transport signage. |
java.lang.String |
name
name contains the name of the vehicle on this line. |
VehicleType |
type
type contains the type of vehicle that runs on this line. |
Constructor and Description |
---|
Vehicle() |
public java.lang.String name
name
contains the name of the vehicle on this line. eg. "Subway."public VehicleType type
type
contains the type of vehicle that runs on this line. See the VehicleType
documentation for a complete list of supported
values.public java.lang.String icon
icon
contains the URL for an icon associated with this vehicle type.public java.lang.String localIcon
localIcon
contains the URL for an icon based on the local transport signage.