public class WeatherInstant extends WeatherCondition
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<WeatherInstant> |
CREATOR |
| Modifier | Constructor and Description |
|---|---|
|
WeatherInstant() |
protected |
WeatherInstant(android.os.Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
float |
getTemperature() |
void |
setTemperature(float temp)
Set temperature in Celsius
|
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getCode, getCondition, getHumidity, getPressure, getWindDeg, getWindSpeed, setCode, setCondition, setHumidity, setPressure, setWindDeg, setWindSpeedpublic static final android.os.Parcelable.Creator<WeatherInstant> CREATOR
public WeatherInstant()
protected WeatherInstant(android.os.Parcel in)
public int describeContents()
public void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.ParcelablewriteToParcel in class WeatherConditionpublic java.lang.String toString()
toString in class java.lang.Objectpublic float getTemperature()
getTemperature in class WeatherConditionpublic void setTemperature(float temp)
temp - current temp in Celsius