Added in API level 5
public static interface

CMWeatherManager.LookupCityRequestListener

cyanogenmod.weather.CMWeatherManager.LookupCityRequestListener

Class Overview

Interface used to receive notifications upon completion of a request to lookup a city name

Summary

Public Methods
abstract void onLookupCityRequestCompleted(int status, List<WeatherLocation> locations)
This method will be called when the weather service provider has finished processing the request.

Public Methods

public abstract void onLookupCityRequestCompleted (int status, List<WeatherLocation> locations)

Added in API level 5

This method will be called when the weather service provider has finished processing the request.

Parameters
status See CMWeatherManager.RequestStatus
locations A list of WeatherLocation if the status is COMPLETED, null otherwise