PublicTransportRouteSearchOptions | iOS SDK | Urbi Documentation
iOS SDK

PublicTransportRouteSearchOptions

Route search options on public transport.

public init(
    startTime: Date? = nil,
    useSchedule: Bool = false,
    transportTypes: PublicTransportTypeOptionSet = []
)
Parameters
startTime
useSchedule
transportTypes
Properties

Time in UTC for which the route is to be plotted. If not specified, the current time is used.

Public transport schedules are taken into account when constructing the route.

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