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
                                                         acceptTypes:(nonnull NSArray<NSString *> *)acceptTypes;

Properties

@property (nonatomic, readonly, nonnull) NSArray<NSString *> *avoidTypes;
Transport types that the router avoided

@property (nonatomic, readonly, nonnull) NSArray<NSString *> *acceptTypes;
Transport types that were allowed even if they are in the list of avoided types

Class methods

routeSettingsWithAvoidTypes:acceptTypes:

+ (nonnull MMKMasstransitRouteSettings *)routeSettingsWithAvoidTypes:(nonnull NSArray<NSString *> *)avoidTypes
                                                         acceptTypes:(nonnull NSArray<NSString *> *)acceptTypes;


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.