poiCitySearch method

void poiCitySearch({
  1. required void onGetPoiCitySearchResult(
    1. List<TIMPoiInfo>?,
    2. bool
    ),
  2. required String keyword,
  3. required String city,
})

Searching the POI list by keyword, those in designated city are of priority. 根据关键词搜索POI,优先返回在当前city内的结果,但同时也可以搜到其他city的POI。

Implementation

void poiCitySearch({
  required void Function(List<TIMPoiInfo>?, bool)
  onGetPoiCitySearchResult,
  required String keyword,
  required String city,
}) async {}