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

PublicRoutePart

Description of the section of the route by public transport.

PublicRoutePart(transports: List<PublicTransportInfo>, intermediateStops: List<PublicTransportStop>)

Description of the section of the route by public transport.

Parameters
transports
intermediateStops
Returns
Properties

Types of public transport that can be used to travel this section of the route.

If the list is empty, then this section of the route is proposed to be overcome by personal or rented transport or on foot.

Intermediate stops that the transport will pass before reaching the transfer point.

Stops are sorted in the order they follow the route.

You do not need to get off at these stops.

Start and end stops are not included in this list.