Warning
This feature is available in the Full MapKit SDK version
MMKTransitOptions
@interface MMKTransitOptions : NSObject |
User-defined options, like time options and filter options.
Summary
Class methods
+ (nonnull MMKTransitOptions *)transitOptionsWithAvoid:( MMKFilterVehicleTypes)avoid |
Instance methods
- (nonnull MMKTransitOptions *)init; |
Properties
@property (nonatomic, readonly) MMKFilterVehicleTypes avoid; |
@property (nonatomic, readonly, nonnull) MMKTimeOptions *timeOptions; |
Class methods
transitOptionsWithAvoid:timeOptions:
+ (nonnull MMKTransitOptions *)transitOptionsWithAvoid:( MMKFilterVehicleTypes)avoid |
Instance methods
init
- (nonnull MMKTransitOptions *)init; |
Properties
avoid
@property (nonatomic, readonly) MMKFilterVehicleTypes avoid; |
Transport types that the router will avoid. The value should be one of MMKFilterVehicleTypes, or their bitwise 'OR' combination.
timeOptions
@property (nonatomic, readonly, nonnull) MMKTimeOptions *timeOptions; |
Desired departure/arrival time settings. Empty MMKTimeOptions for requests that are not time-dependent.