PublicBriefRouteTransportInfo | iOS SDK | 2GIS Documentation


Description of the means of public transportation.

public init(
    type: PublicTransportType = PublicTransportType.bus,
    names: [String],
    color: UInt32?,
    routeLogo: String

Type of public transport vehicle.

The names of the used public transport routes.

Argb representation of the color associated with a given public transport mode, such as the color of a subway line. If there is no information about the color, the field will be nil.

Icon identifier for route stops. An empty string if no information is available. Technical field.