onGetDistrictSearchResult method

void onGetDistrictSearchResult (
  1. {@required void callback(
    1. BMFDistrictSearchResult result,
    2. BMFSearchErrorCode errorCode
    )}
)

行政区域检索结果回调

Implementation

void onGetDistrictSearchResult(
    {@required
        void Function(
                BMFDistrictSearchResult result, BMFSearchErrorCode errorCode)
            callback}) {
  _districtSearchDispatcher?.onGetDistrictCallback(callback);
}