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

PublicTransportRouteSearchOptions

Public transport route search options.

PublicTransportRouteSearchOptions(
	startTime: TimePoint? = null,
	useSchedule: Boolean = false,
	transportTypes: EnumSet<PublicTransportType> = EnumSet.noneOf(PublicTransportType::class.java)
)

Public transport route search options.

Parameters
startTime
useSchedule
transportTypes
Returns
Properties

The time in UTC for which the route should be built. If not set, the current time is used.

Taking into account the timetable of public transport when building a route.

Types of public transport. If not filled, routes will be built for all supported types of public transport.