Warning

This feature is available in the Full MapKit SDK version

MMKTimeOptions

class MMKTimeOptions : NSObject

Desired departure/arrival time settings. Only one the departureTime and arrivalTime fields should be specified.

Summary

Class methods

 init(departureTime: Date?, arrivalTime: Date?)

Properties

var departureTime: Date? { get set }
Desired departure time in UTC for a time-dependent route request

var arrivalTime: Date? { get set }
Desired arrival time in UTC for a time-dependent route request

Class methods

init(departureTime:arrivalTime:)

 init(departureTime: Date?, arrivalTime: Date?)


Properties

departureTime

var departureTime: Date? { get set }

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

var arrivalTime: Date? { get set }

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.