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

Class WeatherServiceData

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

This data is related to what a weather service would provide

Fields

KEY_LOCATION

public static final java.lang.String KEY_LOCATION
Constant Value
"location"

KEY_CURRENT_FORECAST

public static final java.lang.String KEY_CURRENT_FORECAST
Constant Value
"currentForecast"

KEY_MINUTE_FORECAST

public static final java.lang.String KEY_MINUTE_FORECAST
Constant Value
"minuteForecast"

KEY_HOURLY_FORECAST

public static final java.lang.String KEY_HOURLY_FORECAST
Constant Value
"hourlyForecast"

KEY_MULTIDAY_FORECAST

public static final java.lang.String KEY_MULTIDAY_FORECAST
Constant Value
"multidayForecast"

KEY_ALERTS

public static final java.lang.String KEY_ALERTS
Constant Value
"alerts"

Inherited Fields

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

Constructors

WeatherServiceData()

public WeatherServiceData()

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

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

Parameters

hash

WeatherServiceData( LocationDetails location )

public WeatherServiceData(LocationDetails location)

Parameters

location

Methods

setLocation( LocationDetails location )

public void setLocation(LocationDetails location)

Parameters

location
-

getLocation()

public com.smartdevicelink.proxy.rpc.LocationDetails getLocation()

setCurrentForecast( WeatherData currentForecast )

public void setCurrentForecast(WeatherData currentForecast)

Parameters

currentForecast
-

getCurrentForecast()

public com.smartdevicelink.proxy.rpc.WeatherData getCurrentForecast()

setMinuteForecast( java.util.List<com.smartdevicelink.proxy.rpc.WeatherData> minuteForecast )

minsize: 15, maxsize: 60

public void setMinuteForecast(java.util.List<com.smartdevicelink.proxy.rpc.WeatherData> minuteForecast)

Parameters

minuteForecast
-

getMinuteForecast()

minsize: 15, maxsize: 60

public java.util.List getMinuteForecast()

setHourlyForecast( java.util.List<com.smartdevicelink.proxy.rpc.WeatherData> hourlyForecast )

minsize: 1, maxsize: 96

public void setHourlyForecast(java.util.List<com.smartdevicelink.proxy.rpc.WeatherData> hourlyForecast)

Parameters

hourlyForecast
-

getHourlyForecast()

minsize: 1, maxsize: 96

public java.util.List getHourlyForecast()

setMultidayForecast( java.util.List<com.smartdevicelink.proxy.rpc.WeatherData> multidayForecast )

minsize: 1, maxsize: 30

public void setMultidayForecast(java.util.List<com.smartdevicelink.proxy.rpc.WeatherData> multidayForecast)

Parameters

multidayForecast
-

getMultidayForecast()

minsize: 1, maxsize: 30

public java.util.List getMultidayForecast()

setAlerts( java.util.List<com.smartdevicelink.proxy.rpc.WeatherAlert> alerts )

minsize: 1, maxsize: 10

public void setAlerts(java.util.List<com.smartdevicelink.proxy.rpc.WeatherAlert> alerts)

Parameters

alerts
-

getAlerts()

minsize: 1, maxsize: 10

public java.util.List getAlerts()

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