Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
JavaEE Documentation
WeatherServiceData

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)

Constructor Parameters

hash

WeatherServiceData( LocationDetails location )

public WeatherServiceData(LocationDetails location)

Constructor Parameters

location

Methods

setLocation( LocationDetails location )

public com.smartdevicelink.proxy.rpc.WeatherServiceData setLocation(LocationDetails location)

Method Parameters

location
-

getLocation()

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

setCurrentForecast( WeatherData currentForecast )

public com.smartdevicelink.proxy.rpc.WeatherServiceData setCurrentForecast(WeatherData currentForecast)

Method 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 com.smartdevicelink.proxy.rpc.WeatherServiceData setMinuteForecast(java.util.List<com.smartdevicelink.proxy.rpc.WeatherData> minuteForecast)

Method 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 com.smartdevicelink.proxy.rpc.WeatherServiceData setHourlyForecast(java.util.List<com.smartdevicelink.proxy.rpc.WeatherData> hourlyForecast)

Method 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 com.smartdevicelink.proxy.rpc.WeatherServiceData setMultidayForecast(java.util.List<com.smartdevicelink.proxy.rpc.WeatherData> multidayForecast)

Method 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 com.smartdevicelink.proxy.rpc.WeatherServiceData setAlerts(java.util.List<com.smartdevicelink.proxy.rpc.WeatherAlert> alerts)

Method Parameters

alerts
-

getAlerts()

minsize: 1, maxsize: 10

public java.util.List getAlerts()

Inherited Methods

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