ru.dgis.sdk.routing.PublicTransportRouteSearchOptions | Android SDK | Urbi Documentation
Android SDK

PublicTransportRouteSearchOptions

Search options for a public transport route.

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

Search options for a public transport route.

Parameters
startTime
useSchedule
transportTypes
Returns
Properties

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

Whether to refer to the public transport schedule when building a route.

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