public class Atmosphere extends Object
| Constructor and Description |
|---|
Atmosphere() |
Atmosphere(Integer humidity,
Float visibility,
Float pressure,
BarometricPressureState rising) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getHumidity()
Returns the humidity, in percent.
|
Float |
getPressure()
Returns the barometric pressure, in the units specified by the pressure attribute of the units field in the
Channel class. |
BarometricPressureState |
getRising()
Returns the state of the barometric pressure.
|
Float |
getVisibility()
Returns the visibility, in the units specified by the distance attribute of the units field in the
Channel class. |
String |
toString() |
public Atmosphere()
public Atmosphere(Integer humidity, Float visibility, Float pressure, BarometricPressureState rising)
humidity - visibility - pressure - rising - public Integer getHumidity()
public Float getVisibility()
Channel class.
Note that the visibility is specified as the actual value * 100.
For example, a visibility of 16.5 miles will be specified as 1650. A visibility of 14 kilometers will appear as 1400.public Float getPressure()
Channel class.public BarometricPressureState getRising()
Copyright © 2016. All rights reserved.