onGetTransitRouteSearchResult method

void onGetTransitRouteSearchResult (
  1. {@required void callback(
    1. BMFTransitRouteResult result,
    2. BMFSearchErrorCode errorCode
    )}
)

公交检索结果回调

Implementation

void onGetTransitRouteSearchResult(
    {@required
        void Function(
                BMFTransitRouteResult result, BMFSearchErrorCode errorCode)
            callback}) {
  _routeSearchDispatcher?.onGetTransitRouteResultCallback(callback);
}