PublicTransportInfo
Description of the public vehicle.
PublicTransportInfo(
type: PublicTransportType = PublicTransportType.BUS,
names: List<String>,
suggestedCarNumbers: List<Int>,
boardingSuggest: String,
color: Int?,
routeLogo: String
)
Description of the public vehicle.
Parameters
type
names
suggestedCarNumbers
boardingSuggest
color
routeLogo
Returns
Properties
Public vehicle type.
Names of public transport routes on which travel takes place.
Numbers of wagons where boarding is recommended.
If the vehicle consists of one wagon or you can board any wagon, this list will be empty.
Text description of carriages recommended for boarding.
Argb representation of the color associated with this type of public transport, for example, the color of a subway line. If there is no color information, the field will be null.
Identifier of the icon for route stops. Empty string if information is not available. Technical field.