Weather Warning City List

Platform: API iOS Android

Get a list of cities for the specified country or region where weather warnings are currently in effect.

See also Weather warning Android SDK to get warning details.

For more warning information, see Warning Info.

Interface Code Interface Class
getWarningList Weather warning city list WarningListBean


Sample Code

 * @param context context
 * @param listener network access callback interface
QWeather.getWarningList(Context context, final QWeather.OnResultWarningListListener listener);


Properties of WarningListBean

Property Description Example
getCode Status code, please refer to Status Code Code
getUpdateTime Last updated time 2017-10-25T12:34+08:00
getWarningBean Weather warning List<WarningListBean>

WarningListBeanBase Warning Information

Property Description Example
getLocationId Location ID 101280601