onGetWeatherSearchResult method

void onGetWeatherSearchResult (
  1. {@required void callback(
    1. BMFWeatherSearchResult result,
    2. BMFSearchErrorCode errorCode
    )}
)

天气检索异步回调结果

Implementation

void onGetWeatherSearchResult(
    {@required
        void Function(
                BMFWeatherSearchResult result, BMFSearchErrorCode errorCode)
            callback}) {
  _weatherSearchDispatcher?.onGetWeatherSearchCallback(callback);
}