Class YMKTimeOptions

Desired departure/arrival time settings.

Only one the departureTime and arrivalTime fields should be specified.

Class Methods

Properties

arrivalTime

Desired arrival time in UTC for a time-dependent route request.

departureTime

Desired departure time in UTC for a time-dependent route request.

arrivalTime

Desired arrival time in UTC for a time-dependent route request.

departureTime

Desired departure time in UTC for a time-dependent route request.

Method Detail

+timeOptionsWithDepartureTime:arrivalTime:

+ (nonnull YMKTimeOptions *)timeOptionsWithDepartureTime:(nullable NSDate *)departureTime
                                             arrivalTime:(nullable NSDate *)arrivalTime 

Property Detail

arrivalTime

(copy, readwrite) 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 property, can be null.

departureTime

(copy, readwrite) 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 property, can be null.