getWeatherData
Get weather data for the current location. This is called when the user has set the location to "Current location".
Parameters
the latitude of the current location
the longitude of the current location
the ISO 639 language code of the language that the user has set for the launcher. Should be used for weather conditions and location names if supported by the provider.
Get weather data for a set location. This is called when the user has set the location to a custom location.
Return
the weather data for the given location Note that returned forecasts should use the name that is set in the location parameter as the location name, in order to avoid confusion when the user has set the location to a custom location.
Parameters
the location that the user has set. This is guaranteed to be one of the locations returned by findLocations.
the ISO 639 language code of the language that the user has set for the launcher. Should be used for weather conditions if supported by the provider.