Warning
This feature is available in the Full MapKit SDK version
MMKTimeOptions
@interface MMKTimeOptions : NSObject |
Desired departure/arrival time settings. Only one the departureTime and arrivalTime fields should be specified.
Summary
Class methods
+ (nonnull MMKTimeOptions *)timeOptionsWithDepartureTime:(nullable NSDate *)departureTime |
Properties
@property (nonatomic, copy, readwrite, nullable) NSDate *departureTime; |
@property (nonatomic, copy, readwrite, nullable) NSDate *arrivalTime; |
Class methods
timeOptionsWithDepartureTime:arrivalTime:
+ (nonnull MMKTimeOptions *)timeOptionsWithDepartureTime:(nullable NSDate *)departureTime |
Properties
departureTime
@property (nonatomic, copy, readwrite, nullable) NSDate *departureTime; |
Desired departure time in UTC for a time-dependent route request. The value is specified in milliseconds. This option cannot be used with arrivalTime.
Optional field, can be nil.
arrivalTime
@property (nonatomic, copy, readwrite, nullable) NSDate *arrivalTime; |
Desired arrival time in UTC for a time-dependent route request. The value is specified in milliseconds. This option cannot be used with departureTime.
Optional field, can be nil.