Warning

This feature is available in the Full MapKit SDK version

MMKDrivingFlags

@interface MMKDrivingFlags : NSObject

Overall characteristics of the route.

Summary

Class methods

+ (nonnull MMKDrivingFlags *)flagsWithBlocked:( BOOL)blocked
                                   hasFerries:( BOOL)hasFerries
                                     hasTolls:( BOOL)hasTolls
                           requiresAccessPass:( BOOL)requiresAccessPass
                                   forParking:( BOOL)forParking
                                futureBlocked:( BOOL)futureBlocked
                                      deadJam:( BOOL)deadJam
                                 builtOffline:( BOOL)builtOffline
                                    predicted:( BOOL)predicted
                               hasRuggedRoads:( BOOL)hasRuggedRoads
                              hasFordCrossing:( BOOL)hasFordCrossing
                       hasVehicleRestrictions:( BOOL)hasVehicleRestrictions
                              hasUnpavedRoads:( BOOL)hasUnpavedRoads
                      hasInPoorConditionRoads:( BOOL)hasInPoorConditionRoads
                           hasRailwayCrossing:( BOOL)hasRailwayCrossing
                               hasCheckpoints:( BOOL)hasCheckpoints
                           scheduledDeparture:( BOOL)scheduledDeparture
                     hasNonTransactionalTolls:( BOOL)hasNonTransactionalTolls
                                   hasTunnels:( BOOL)hasTunnels
                                  hasHighways:( BOOL)hasHighways;

Properties

@property (nonatomic, readonly) BOOL blocked;
Route is blocked

@property (nonatomic, readonly) BOOL hasFerries;
Route has ferries on it

@property (nonatomic, readonly) BOOL hasTolls;
Route has toll posts, which are always paid

@property (nonatomic, readonly) BOOL requiresAccessPass;
Route requires special access

@property (nonatomic, readonly) BOOL forParking;
Route is made for parking

@property (nonatomic, readonly) BOOL futureBlocked;
Route will be blocked soon

@property (nonatomic, readonly) BOOL deadJam;
Route has a severe traffic jam

@property (nonatomic, readonly) BOOL builtOffline;
Route was built by using offline data

@property (nonatomic, readonly) BOOL predicted;
Predicted optimal route

@property (nonatomic, readonly) BOOL hasRuggedRoads;
Route has rugged roads on it

@property (nonatomic, readonly) BOOL hasFordCrossing;
Route has ford crossing on it

@property (nonatomic, readonly) BOOL hasVehicleRestrictions;
Route has vehicle restrictions on it

@property (nonatomic, readonly) BOOL hasUnpavedRoads;
Route has unpaved roads on it

@property (nonatomic, readonly) BOOL hasInPoorConditionRoads;
Route has poor condition roads on it

@property (nonatomic, readonly) BOOL hasRailwayCrossing;
Route has railway crossing on it

@property (nonatomic, readonly) BOOL hasCheckpoints;
Route has checkpoints on it

@property (nonatomic, readonly) BOOL scheduledDeparture;
Route was requested with custom departure time

@property (nonatomic, readonly) BOOL hasNonTransactionalTolls;
Route has conditionally-toll-free toll posts

@property (nonatomic, readonly) BOOL hasTunnels;
Route has tunnels on it

@property (nonatomic, readonly) BOOL hasHighways;
Route has highways on it

Class methods

flagsWithBlocked:hasFerries:hasTolls:requiresAccessPass:forParking:futureBlocked:deadJam:builtOffline:predicted:hasRuggedRoads:hasFordCrossing:hasVehicleRestrictions:hasUnpavedRoads:hasInPoorConditionRoads:hasRailwayCrossing:hasCheckpoints:scheduledDeparture:hasNonTransactionalTolls:hasTunnels:hasHighways:

+ (nonnull MMKDrivingFlags *)flagsWithBlocked:( BOOL)blocked
                                   hasFerries:( BOOL)hasFerries
                                     hasTolls:( BOOL)hasTolls
                           requiresAccessPass:( BOOL)requiresAccessPass
                                   forParking:( BOOL)forParking
                                futureBlocked:( BOOL)futureBlocked
                                      deadJam:( BOOL)deadJam
                                 builtOffline:( BOOL)builtOffline
                                    predicted:( BOOL)predicted
                               hasRuggedRoads:( BOOL)hasRuggedRoads
                              hasFordCrossing:( BOOL)hasFordCrossing
                       hasVehicleRestrictions:( BOOL)hasVehicleRestrictions
                              hasUnpavedRoads:( BOOL)hasUnpavedRoads
                      hasInPoorConditionRoads:( BOOL)hasInPoorConditionRoads
                           hasRailwayCrossing:( BOOL)hasRailwayCrossing
                               hasCheckpoints:( BOOL)hasCheckpoints
                           scheduledDeparture:( BOOL)scheduledDeparture
                     hasNonTransactionalTolls:( BOOL)hasNonTransactionalTolls
                                   hasTunnels:( BOOL)hasTunnels
                                  hasHighways:( BOOL)hasHighways;


Properties

blocked

@property (nonatomic, readonly) BOOL blocked;

Route is blocked.


hasFerries

@property (nonatomic, readonly) BOOL hasFerries;

Route has ferries on it.


hasTolls

@property (nonatomic, readonly) BOOL hasTolls;

Route has toll posts, which are always paid.


requiresAccessPass

@property (nonatomic, readonly) BOOL requiresAccessPass;

Route requires special access.


forParking

@property (nonatomic, readonly) BOOL forParking;

Route is made for parking.


futureBlocked

@property (nonatomic, readonly) BOOL futureBlocked;

Route will be blocked soon.


deadJam

@property (nonatomic, readonly) BOOL deadJam;

Route has a severe traffic jam.


builtOffline

@property (nonatomic, readonly) BOOL builtOffline;

Route was built by using offline data.


predicted

@property (nonatomic, readonly) BOOL predicted;

Predicted optimal route.


hasRuggedRoads

@property (nonatomic, readonly) BOOL hasRuggedRoads;

Route has rugged roads on it.


hasFordCrossing

@property (nonatomic, readonly) BOOL hasFordCrossing;

Route has ford crossing on it.


hasVehicleRestrictions

@property (nonatomic, readonly) BOOL hasVehicleRestrictions;

Route has vehicle restrictions on it.


hasUnpavedRoads

@property (nonatomic, readonly) BOOL hasUnpavedRoads;

Route has unpaved roads on it.


hasInPoorConditionRoads

@property (nonatomic, readonly) BOOL hasInPoorConditionRoads;

Route has poor condition roads on it.


hasRailwayCrossing

@property (nonatomic, readonly) BOOL hasRailwayCrossing;

Route has railway crossing on it.


hasCheckpoints

@property (nonatomic, readonly) BOOL hasCheckpoints;

Route has checkpoints on it.


scheduledDeparture

@property (nonatomic, readonly) BOOL scheduledDeparture;

Route was requested with custom departure time.


hasNonTransactionalTolls

@property (nonatomic, readonly) BOOL hasNonTransactionalTolls;

Route has conditionally-toll-free toll posts


hasTunnels

@property (nonatomic, readonly) BOOL hasTunnels;

Route has tunnels on it.


hasHighways

@property (nonatomic, readonly) BOOL hasHighways;

Route has highways on it.