ru.dgis.sdk.routing.PublicTransportInfo | Android SDK | 2GIS Documentation
Android SDK

PublicTransportInfo

Description of the public transport vehicle.

PublicTransportInfo(
	type: PublicTransportType = PublicTransportType.BUS,
	names: List<String>,
	suggestedCarNumbers: List<Int>,
	boardingSuggest: String,
	color: Int?,
	routeLogo: String
)

Description of the public transport vehicle.

Parameters
type
names
suggestedCarNumbers
boardingSuggest
color
routeLogo
Returns
Properties

Public transport 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 is empty.

Text description of wagons 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 is null.

Identifier of the icon for route stops. Empty string if information is not available. Technical field.