| Package | com.yahoo.webapis.weather |
| Class | public class Units |
| Property | Defined by | ||
|---|---|---|---|
| distance : String
The units used for reporting distance.
| Units | ||
| pressure : String
The units used for reporting pressure
| Units | ||
| speed : String
The units used for reporting speed.
| Units | ||
| temperature : String
The units used for reporting temperature.
| Units | ||
| Method | Defined by | ||
|---|---|---|---|
|
Units()
The Units class constructor.
| Units | ||
| Constant | Defined by | ||
|---|---|---|---|
| ENGLISH_UNITS : String = "english" [static]
The constant specifying the units argument for getWeather to be English.
| Units | ||
| METRIC_UNITS : String = "metric" [static]
The constant specifying the units argument for getWeather to be metric.
| Units | ||
| distance | property |
public var distance:StringThe units used for reporting distance.
| pressure | property |
public var pressure:StringThe units used for reporting pressure
| speed | property |
public var speed:StringThe units used for reporting speed.
| temperature | property |
public var temperature:StringThe units used for reporting temperature.
| Units | () | constructor |
public function Units()The Units class constructor.
| ENGLISH_UNITS | constant |
public static const ENGLISH_UNITS:String = "english"The constant specifying the units argument for getWeather to be English.
| METRIC_UNITS | constant |
public static const METRIC_UNITS:String = "metric"The constant specifying the units argument for getWeather to be metric.