public class WeatherSearch extends SearcherInternal
Constructor and Description |
---|
WeatherSearch()
构造函数
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
释放对象资源
|
static WeatherSearch |
newInstance()
创建天气检索实例
|
boolean |
request(WeatherSearchOption option)
发起天气请求
|
void |
setWeatherSearchResultListener(OnGetWeatherResultListener weatherResultListener)
设置天气请求结果监听器
|
public static WeatherSearch newInstance()
public boolean request(WeatherSearchOption option)
option
- 天气请求参数public void setWeatherSearchResultListener(OnGetWeatherResultListener weatherResultListener)
weatherResultListener
- public void destroy()