added in API level 8
public static interface

LineageWeatherManager.WeatherServiceProviderChangeListener

lineageos.weather.LineageWeatherManager.WeatherServiceProviderChangeListener

Class Overview

Interface used to be notified when the user changes the weather service provider

Summary

Public Methods
abstract void onWeatherServiceProviderChanged(String providerLabel)
This method will be called when a new weather service provider becomes active in the system.

Public Methods

public abstract void onWeatherServiceProviderChanged (String providerLabel)

added in API level 8

This method will be called when a new weather service provider becomes active in the system. The parameter can be null when

The user removed the active weather service provider from the system

The active weather provider was disabled.

Parameters
providerLabel String: The label as declared on the weather service provider manifest