Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

Class WeatherData

Hierarchy

java.lang.Object
     com.smartdevicelink.proxy.RPCStruct

Package
com.smartdevicelink.proxy.rpc

Quick Jump

Fields
Constructors
Methods

Fields

KEY_CURRENT_TEMPERATURE

public static final java.lang.String KEY_CURRENT_TEMPERATURE
Constant Value
"currentTemperature"

KEY_TEMPERATURE_HIGH

public static final java.lang.String KEY_TEMPERATURE_HIGH
Constant Value
"temperatureHigh"

KEY_TEMPERATURE_LOW

public static final java.lang.String KEY_TEMPERATURE_LOW
Constant Value
"temperatureLow"

KEY_APPARENT_TEMPERATURE

public static final java.lang.String KEY_APPARENT_TEMPERATURE
Constant Value
"apparentTemperature"

KEY_APPARENT_TEMPERATURE_HIGH

public static final java.lang.String KEY_APPARENT_TEMPERATURE_HIGH
Constant Value
"apparentTemperatureHigh"

KEY_APPARENT_TEMPERATURE_LOW

public static final java.lang.String KEY_APPARENT_TEMPERATURE_LOW
Constant Value
"apparentTemperatureLow"

KEY_WEATHER_SUMMARY

public static final java.lang.String KEY_WEATHER_SUMMARY
Constant Value
"weatherSummary"

KEY_TIME

public static final java.lang.String KEY_TIME
Constant Value
"time"

KEY_HUMIDITY

public static final java.lang.String KEY_HUMIDITY
Constant Value
"humidity"

KEY_CLOUD_COVER

public static final java.lang.String KEY_CLOUD_COVER
Constant Value
"cloudCover"

KEY_MOON_PHASE

public static final java.lang.String KEY_MOON_PHASE
Constant Value
"moonPhase"

KEY_WIND_BEARING

public static final java.lang.String KEY_WIND_BEARING
Constant Value
"windBearing"

KEY_WIND_GUST

public static final java.lang.String KEY_WIND_GUST
Constant Value
"windGust"

KEY_WIND_SPEED

public static final java.lang.String KEY_WIND_SPEED
Constant Value
"windSpeed"

KEY_NEAREST_STORM_BEARING

public static final java.lang.String KEY_NEAREST_STORM_BEARING
Constant Value
"nearestStormBearing"

KEY_NEAREST_STORM_DISTANCE

public static final java.lang.String KEY_NEAREST_STORM_DISTANCE
Constant Value
"nearestStormDistance"

KEY_PRECIP_ACCUMULATION

public static final java.lang.String KEY_PRECIP_ACCUMULATION
Constant Value
"precipAccumulation"

KEY_PRECIP_INTENSITY

public static final java.lang.String KEY_PRECIP_INTENSITY
Constant Value
"precipIntensity"

KEY_PRECIP_PROBABILITY

public static final java.lang.String KEY_PRECIP_PROBABILITY
Constant Value
"precipProbability"

KEY_PRECIP_TYPE

public static final java.lang.String KEY_PRECIP_TYPE
Constant Value
"precipType"

KEY_VISIBILITY

public static final java.lang.String KEY_VISIBILITY
Constant Value
"visibility"

KEY_WEATHER_ICON

public static final java.lang.String KEY_WEATHER_ICON
Constant Value
"weatherIcon"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

WeatherData()

public WeatherData()

WeatherData( java.util.Hashtable<java.lang.String, java.lang.Object> hash )

public WeatherData(java.util.Hashtable<java.lang.String, java.lang.Object> hash)

Parameters

hash

Methods

setCurrentTemperature( Temperature currentTemperature )

public void setCurrentTemperature(Temperature currentTemperature)

Parameters

currentTemperature
-

getCurrentTemperature()

public com.smartdevicelink.proxy.rpc.Temperature getCurrentTemperature()

setTemperatureHigh( Temperature temperatureHigh )

public void setTemperatureHigh(Temperature temperatureHigh)

Parameters

temperatureHigh
-

getTemperatureHigh()

public com.smartdevicelink.proxy.rpc.Temperature getTemperatureHigh()

setTemperatureLow( Temperature temperatureLow )

public void setTemperatureLow(Temperature temperatureLow)

Parameters

temperatureLow
-

getTemperatureLow()

public com.smartdevicelink.proxy.rpc.Temperature getTemperatureLow()

setApparentTemperature( Temperature apparentTemperature )

public void setApparentTemperature(Temperature apparentTemperature)

Parameters

apparentTemperature
-

getApparentTemperature()

public com.smartdevicelink.proxy.rpc.Temperature getApparentTemperature()

setApparentTemperatureHigh( Temperature apparentTemperatureHigh )

public void setApparentTemperatureHigh(Temperature apparentTemperatureHigh)

Parameters

apparentTemperatureHigh
-

getApparentTemperatureHigh()

public com.smartdevicelink.proxy.rpc.Temperature getApparentTemperatureHigh()

setApparentTemperatureLow( Temperature apparentTemperatureLow )

public void setApparentTemperatureLow(Temperature apparentTemperatureLow)

Parameters

apparentTemperatureLow
-

getApparentTemperatureLow()

public com.smartdevicelink.proxy.rpc.Temperature getApparentTemperatureLow()

setWeatherSummary( String weatherSummary )

public void setWeatherSummary(String weatherSummary)

Parameters

weatherSummary
-

getWeatherSummary()

public java.lang.String getWeatherSummary()

setTime( DateTime time )

public void setTime(DateTime time)

Parameters

time
-

getTime()

public com.smartdevicelink.proxy.rpc.DateTime getTime()

setHumidity( Float humidity )

minValue: 0, maxValue: 1

public void setHumidity(Float humidity)

Parameters

humidity
- percentage humidity

getHumidity()

minValue: 0, maxValue: 1

public java.lang.Float getHumidity()

setCloudCover( Float cloudCover )

minValue: 0, maxValue: 1

public void setCloudCover(Float cloudCover)

Parameters

cloudCover
- cloud cover

getCloudCover()

minValue: 0, maxValue: 1

public java.lang.Float getCloudCover()

setMoonPhase( Float moonPhase )

minValue: 0, maxValue: 1

public void setMoonPhase(Float moonPhase)

Parameters

moonPhase
- percentage of the moon seen, e.g. 0 = no moon, 0.25 = quarter moon

getMoonPhase()

minValue: 0, maxValue: 1

public java.lang.Float getMoonPhase()

setWindBearing( Integer windBearing )

public void setWindBearing(Integer windBearing)

Parameters

windBearing
- In degrees, true north at 0 degrees

getWindBearing()

public java.lang.Integer getWindBearing()

setWindGust( Float windGust )

public void setWindGust(Float windGust)

Parameters

windGust
- km/hr

getWindGust()

public java.lang.Float getWindGust()

setWindSpeed( Float windSpeed )

public void setWindSpeed(Float windSpeed)

Parameters

windSpeed
- km/hr

getWindSpeed()

public java.lang.Float getWindSpeed()

setNearestStormBearing( Integer nearestStormBearing )

public void setNearestStormBearing(Integer nearestStormBearing)

Parameters

nearestStormBearing
- In degrees, true north at 0 degrees

getNearestStormBearing()

public java.lang.Integer getNearestStormBearing()

setNearestStormDistance( Integer nearestStormDistance )

public void setNearestStormDistance(Integer nearestStormDistance)

Parameters

nearestStormDistance
- In km

getNearestStormDistance()

public java.lang.Integer getNearestStormDistance()

setPrecipAccumulation( Float precipAccumulation )

public void setPrecipAccumulation(Float precipAccumulation)

Parameters

precipAccumulation
- cm

getPrecipAccumulation()

public java.lang.Float getPrecipAccumulation()

setPrecipIntensity( Float precipIntensity )

public void setPrecipIntensity(Float precipIntensity)

Parameters

precipIntensity
- cm of water per hour

getPrecipIntensity()

public java.lang.Float getPrecipIntensity()

setPrecipProbability( Float precipProbability )

minValue: 0, maxValue: 1

public void setPrecipProbability(Float precipProbability)

Parameters

precipProbability
- percentage chance

getPrecipProbability()

minValue: 0, maxValue: 1

public java.lang.Float getPrecipProbability()

setPrecipType( String precipType )

public void setPrecipType(String precipType)

Parameters

precipType
- e.g. "rain", "snow", "sleet", "hail"

getPrecipType()

public java.lang.String getPrecipType()

setWeatherIcon( Image weatherIcon )

public void setWeatherIcon(Image weatherIcon)

Parameters

weatherIcon
-

getWeatherIcon()

public com.smartdevicelink.proxy.rpc.Image getWeatherIcon()

setVisibility( Float visibility )

public void setVisibility(Float visibility)

Parameters

visibility
- In km

getVisibility()

public java.lang.Float getVisibility()

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCStruct getStoreValue, getStore, deserializeJSON, deserializeJSONObject, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section