Warning

This feature is available in the Full MapKit SDK version

YMKMasstransitSession

@interface YMKMasstransitSession : NSObject

Handler for an async request for mass transit routes.

Summary

Instance methods

- (void)cancel;
Tries to cancel the current request for mass transit routes

- (void)retryWithRouteHandler:
    (nonnull YMKMasstransitSessionRouteHandler)routeHandler;

Retries the request for mass transit routes using the specified callback

Instance methods

cancel

- (void)cancel;

Tries to cancel the current request for mass transit routes.


retryWithRouteHandler:

- (void)retryWithRouteHandler:
    (nonnull YMKMasstransitSessionRouteHandler)routeHandler;

Retries the request for mass transit routes using the specified callback.