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

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, this section of the route is suggested 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 appear on the route.

You do not need to get off at these stops.

Start and end stops are not included in this list.