Packagecom.yahoo.webapis.weather
Classpublic class Units

Yahoo! Weather API Units Class. This class holds the data about the units used in reporting weather conditions.



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined by
  
The Units class constructor.
Units
Public Constants
 ConstantDefined 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
Property detail
distanceproperty
public var distance:String

The units used for reporting distance.

pressureproperty 
public var pressure:String

The units used for reporting pressure

speedproperty 
public var speed:String

The units used for reporting speed.

temperatureproperty 
public var temperature:String

The units used for reporting temperature.

Constructor detail
Units()constructor
public function Units()

The Units class constructor.

Constant detail
ENGLISH_UNITSconstant
public static const ENGLISH_UNITS:String = "english"

The constant specifying the units argument for getWeather to be English.

METRIC_UNITSconstant 
public static const METRIC_UNITS:String = "metric"

The constant specifying the units argument for getWeather to be metric.