Warning

This feature is available in the Full MapKit SDK version

MMKMasstransitTravelEstimation

@interface MMKMasstransitTravelEstimation : NSObject

Arrival and departure time estimations for time-dependent routes or sections of time-dependent routes.

Summary

Class methods

+ (nonnull MMKMasstransitTravelEstimation *)travelEstimationWithDepartureTime:(nonnull MMKTime *)departureTime
                                                                  arrivalTime:(nonnull MMKTime *)arrivalTime;

Properties

@property (nonatomic, readonly, nonnull) MMKTime *departureTime;
Departure time for a route or a route section

@property (nonatomic, readonly, nonnull) MMKTime *arrivalTime;
Arrival time for a route or a route section

Class methods

travelEstimationWithDepartureTime:arrivalTime:

+ (nonnull MMKMasstransitTravelEstimation *)travelEstimationWithDepartureTime:(nonnull MMKTime *)departureTime
                                                                  arrivalTime:(nonnull MMKTime *)arrivalTime;


Properties

departureTime

@property (nonatomic, readonly, nonnull) MMKTime *departureTime;

Departure time for a route or a route section.


arrivalTime

@property (nonatomic, readonly, nonnull) MMKTime *arrivalTime;

Arrival time for a route or a route section.