added in API level 8
public static interface

LineageWeatherManager.LookupCityRequestListener

lineageos.weather.LineageWeatherManager.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 8

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

Parameters
status int: See LineageWeatherManager.RequestStatus
locations List: A list of WeatherLocation if the status is COMPLETED, null otherwise