java.lang.Object |
↳ |
cyanogenmod.weather.WeatherInfo |
Class Overview
This class represents the weather information that a
WeatherProviderService
will use to update the weather content
provider. A weather provider service will be called by the system to process an update
request at any time. If the service successfully processes the request, then the weather provider
service is responsible of calling
complete(ServiceRequestResult)
to notify the
system that the request was completed and that the weather content provider should be updated
with the supplied weather information.
Summary
Nested Classes |
class |
WeatherInfo.Builder |
Builder class for WeatherInfo
|
class |
WeatherInfo.DayForecast |
This class represents the weather forecast for a given day.
|
[Expand]
Inherited Constants |
From interface
android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
android.os.Parcelable
abstract
int
|
describeContents()
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
Fields
Public Methods
public
int
describeContents
()
public
boolean
equals
(Object obj)
public
int
getConditionCode
()
Returns
- An implementation specific weather condition code
public
double
getHumidity
()
public
double
getTemperature
()
public
int
getTemperatureUnit
()
public
long
getTimestamp
()
Returns
- time stamp when the request was processed
public
double
getTodaysHigh
()
public
double
getTodaysLow
()
public
double
getWindDirection
()
public
double
getWindSpeed
()
public
int
getWindSpeedUnit
()
public
String
toString
()
public
void
writeToParcel
(Parcel dest, int flags)