onGetMassTransitRouteSearchResult method

void onGetMassTransitRouteSearchResult (
  1. {@required void callback(
    1. BMFMassTransitRouteResult result,
    2. BMFSearchErrorCode errorCode
    )}
)

公共交通路线检索结果回调

Implementation

void onGetMassTransitRouteSearchResult(
    {@required
        void Function(BMFMassTransitRouteResult result,
                BMFSearchErrorCode errorCode)
            callback}) {
  _routeSearchDispatcher?.onGetMassTransitRouteResultCallback(callback);
}