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

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 are built for all supported types of public transport.