Warning

This feature is available in the Full MapKit SDK version

MMKMasstransitFlags

@interface MMKMasstransitFlags : NSObject

Indicates whether the suggested route has one or more of the specified properties.

Summary

Class methods

+ (nonnull MMKMasstransitFlags *)flagsWithRequiresAccessPass:( BOOL)requiresAccessPass
                                                 hasAutoRoad:( BOOL)hasAutoRoad;

Properties

@property (nonatomic, readonly) BOOL requiresAccessPass;
Indicates whether the suggested route requires an access pass

@property (nonatomic, readonly) BOOL hasAutoRoad;
Indicates whether the suggested route includes automotive roads

Class methods

flagsWithRequiresAccessPass:hasAutoRoad:

+ (nonnull MMKMasstransitFlags *)flagsWithRequiresAccessPass:( BOOL)requiresAccessPass
                                                 hasAutoRoad:( BOOL)hasAutoRoad;


Properties

requiresAccessPass

@property (nonatomic, readonly) BOOL requiresAccessPass;

Indicates whether the suggested route requires an access pass.


hasAutoRoad

@property (nonatomic, readonly) BOOL hasAutoRoad;

Indicates whether the suggested route includes automotive roads.