requestRoutesSummary abstract method

MasstransitSummarySession requestRoutesSummary(
  1. TimeOptions timeOptions,
  2. RouteOptions routeOptions,
  3. SummaryHandler summaryListener, {
  4. required List<RequestPoint> points,
})

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

points Route points (See mapkit_request_point.RequestPoint for details). Currently only two points are supported (start and finish) timeOptions Desired departure/arrival time settings. Empty transport_masstransit_options.TimeOptions for requests that are not time-dependent. routeOptions Options for route personalization. summaryListener Listener to retrieve a list of summaries.

Implementation

transport_masstransit_session.MasstransitSummarySession requestRoutesSummary(
  transport_masstransit_options.TimeOptions timeOptions,
  transport_masstransit_options.RouteOptions routeOptions,
  transport_masstransit_session.SummaryHandler summaryListener, {
  required core.List<mapkit_request_point.RequestPoint> points,
});