getForecast

Returns the weather forecast using a callback.

void
getForecast
(
void delegate() cb
)

Parameters

cb
Type: void delegate()

The callback to fire when weather info has been downloaded. The callback sends the WeatherData data and an Exception if there was any problem.

Meta