public class WeatherSearchOption
extends java.lang.Object
构造器和说明 |
---|
WeatherSearchOption() |
限定符和类型 | 方法和说明 |
---|---|
WeatherSearchOption |
districtID(java.lang.String districtID) |
WeatherDataType |
getDataType()
请求数据类型,
|
java.lang.String |
getDistrictID()
区县的行政区划编码,和location二选一
|
LanguageType |
getLanguageType()
语言类型,默认中文。
|
LatLng |
getLocation()
经纬度,高级字段,需要申请高级权限
|
WeatherServerType |
getServerType()
天气服务类型,默认国内
|
WeatherSearchOption |
languageType(LanguageType languageType) |
WeatherSearchOption |
location(LatLng location) |
WeatherSearchOption |
serverType(WeatherServerType weatherServerType) |
WeatherSearchOption |
weatherDataType(WeatherDataType weatherDataType) |
public WeatherSearchOption serverType(WeatherServerType weatherServerType)
public WeatherSearchOption districtID(java.lang.String districtID)
public WeatherSearchOption location(LatLng location)
public WeatherSearchOption weatherDataType(WeatherDataType weatherDataType)
public WeatherSearchOption languageType(LanguageType languageType)
public WeatherServerType getServerType()
public java.lang.String getDistrictID()
public LatLng getLocation()
public WeatherDataType getDataType()
public LanguageType getLanguageType()