public class WeatherSearch extends SearcherInternal
构造器和说明 |
---|
WeatherSearch()
构造函数
|
限定符和类型 | 方法和说明 |
---|---|
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()