PublicTransport

data class PublicTransport(val transports: List<TransportInfo>, val startPointName: String, val intermediateStops: List<String>, val finishPointName: String) : RouteSegment

Public transport ride segment.

Represents movement by public transport and contains one or more transport descriptors used by the UI.

Constructors

Link copied to clipboard
constructor(transports: List<TransportInfo>, startPointName: String, intermediateStops: List<String>, finishPointName: String)

Properties

Link copied to clipboard

Name of the alighting point (where the passenger gets off).

Link copied to clipboard

Names of intermediate stops between boarding and alighting points.

Link copied to clipboard

Name of the boarding point (where the passenger gets on).

Link copied to clipboard

Transport lines/options associated with this segment.