Warning
This feature is available in the Full MapKit SDK version
MMKMasstransitRouteSettings
@interface MMKMasstransitRouteSettings : NSObject |
Route settings that were used by the mass transit router for a specific route.
Summary
Class methods
+ (nonnull MMKMasstransitRouteSettings *)routeSettingsWithAvoidTypes:(nonnull NSArray<NSString *> *)avoidTypes |
Properties
@property (nonatomic, readonly, nonnull) NSArray<NSString *> *avoidTypes; |
@property (nonatomic, readonly, nonnull) NSArray<NSString *> *acceptTypes; |
Class methods
routeSettingsWithAvoidTypes:acceptTypes:
+ (nonnull MMKMasstransitRouteSettings *)routeSettingsWithAvoidTypes:(nonnull NSArray<NSString *> *)avoidTypes |
Properties
avoidTypes
@property (nonatomic, readonly, nonnull) NSArray<NSString *> *avoidTypes; |
Transport types that the router avoided.
acceptTypes
@property (nonatomic, readonly, nonnull) NSArray<NSString *> *acceptTypes; |
Transport types that were allowed even if they are in the list of avoided types.