Warning

This feature is available in the Full MapKit SDK version

MMKTransitOptions

class MMKTransitOptions : NSObject

User-defined options, like time options and filter options.

Summary

Class methods

 init(avoid: MMKFilterVehicleTypes, timeOptions: MMKTimeOptions)

Instance methods

init()

Properties

var avoidMMKFilterVehicleTypes { get }
Transport types that the router will avoid

var timeOptionsMMKTimeOptions { get }
Desired departure/arrival time settings

Class methods

init(avoid:timeOptions:)

 init(avoid: MMKFilterVehicleTypes, timeOptions: MMKTimeOptions)


Instance methods

init()

init()


Properties

avoid

var avoid: MMKFilterVehicleTypes { get }

Transport types that the router will avoid. The value should be one of MMKFilterVehicleTypes, or their bitwise 'OR' combination.


timeOptions

var timeOptions: MMKTimeOptions { get }

Desired departure/arrival time settings. Empty MMKTimeOptions for requests that are not time-dependent.