Class YMKPedestrianRouter

Provides methods for submitting pedestrian routing requests.

Instance Methods

- requestRoutesSummaryWithFrom:to:timeOptions:summaryHandler:

Submits a request to fetch a brief summary of the pedestrian routes from one to many points.

- requestRoutesSummaryWithPoints:timeOptions:summaryHandler:

Submits a request to fetch a brief summary of a pedestrian route.

- requestRoutesWithPoints:timeOptions:routeHandler:

Submits a request to find a pedestrian route.

- resolveUriWithUri:timeOptions:routeHandler:

Submits a request to retrieve detailed information on the pedestrian route by URI.

- routeSerializer

Route serializer.

Method Detail

-requestRoutesSummaryWithFrom:to:timeOptions:summaryHandler:

- (nonnull YMKMasstransitSummarySession *)requestRoutesSummaryWithFrom:(nonnull YMKRequestPoint *)from
                                                                    to:(nonnull NSArray< YMKRequestPoint * > *)to
                                                           timeOptions:(nonnull YMKTimeOptions *)timeOptions
                                                        summaryHandler:(nonnull YMKMasstransitSummarySessionSummaryHandler)summaryHandler 

Submits a request to fetch a brief summary of the pedestrian routes from one to many points.

Parameters:
from

Starting point (See YMKRequestPoint for details).

to

End points.

timeOptions

Desired departure/arrival time settings. Empty YMKTimeOptions for requests that are not time-dependent.

summaryListener

Listener to retrieve a list of summaries.

-requestRoutesSummaryWithPoints:timeOptions:summaryHandler:

- (nonnull YMKMasstransitSummarySession *)requestRoutesSummaryWithPoints:(nonnull NSArray< YMKRequestPoint * > *)points
                                                             timeOptions:(nonnull YMKTimeOptions *)timeOptions
                                                          summaryHandler:(nonnull YMKMasstransitSummarySessionSummaryHandler)summaryHandler 

Submits a request to fetch a brief summary of a pedestrian route.

Parameters:
points

Route points (See YMKRequestPoint for details). Currently only two points are supported (start and finish)

timeOptions

Desired departure/arrival time settings. Empty YMKTimeOptions for requests that are not time-dependent.

summaryListener

Listener to retrieve a list of summaries.

-requestRoutesWithPoints:timeOptions:routeHandler:

- (nonnull YMKMasstransitSession *)requestRoutesWithPoints:(nonnull NSArray< YMKRequestPoint * > *)points
                                               timeOptions:(nonnull YMKTimeOptions *)timeOptions
                                              routeHandler:(nonnull YMKMasstransitSessionRouteHandler)routeHandler 

Submits a request to find a pedestrian route.

Parameters:
points

Route points (See YMKRequestPoint for details). Currently only two points are supported (start and finish)

timeOptions

Desired departure/arrival time settings. Empty YMKTimeOptions for requests that are not time-dependent.

routeListener

Listener to retrieve a list of MasstransitRoute objects.

-resolveUriWithUri:timeOptions:routeHandler:

- (nonnull YMKMasstransitSession *)resolveUriWithUri:(nonnull NSString *)uri
                                         timeOptions:(nonnull YMKTimeOptions *)timeOptions
                                        routeHandler:(nonnull YMKMasstransitSessionRouteHandler)routeHandler 

Submits a request to retrieve detailed information on the pedestrian route by URI.

Parameters:
uri

Pedestrian route URI. Begins with "ymapsbm1://route/pedestrian".

timeOptions

Desired departure/arrival time settings. Empty YMKTimeOptions for requests that are not time-dependent.

routeListener

Listener to retrieve a list of MasstransitRoute objects.

-routeSerializer

- (nonnull YMKMasstransitRouteSerializer *)routeSerializer

Route serializer.