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
Android Documentation
WeatherAlert

Class WeatherAlert

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Fields

KEY_TITLE

public static final java.lang.String KEY_TITLE
Constant Value
"title"

KEY_SUMMARY

public static final java.lang.String KEY_SUMMARY
Constant Value
"summary"

KEY_EXPIRES

public static final java.lang.String KEY_EXPIRES
Constant Value
"expires"

KEY_REGIONS

public static final java.lang.String KEY_REGIONS
Constant Value
"regions"

KEY_SEVERITY

public static final java.lang.String KEY_SEVERITY
Constant Value
"severity"

KEY_TIME_ISSUED

public static final java.lang.String KEY_TIME_ISSUED
Constant Value
"timeIssued"

Inherited Fields

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

Constructors

WeatherAlert()

public WeatherAlert()

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

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

Constructor Parameters

hash

WeatherAlert( java.util.List<java.lang.String> regions )

public WeatherAlert(java.util.List<java.lang.String> regions)

Constructor Parameters

regions

Methods

setTitle( String title )

public com.smartdevicelink.proxy.rpc.WeatherAlert setTitle(String title)

Method Parameters

title
-

getTitle()

public java.lang.String getTitle()

setSummary( String summary )

public com.smartdevicelink.proxy.rpc.WeatherAlert setSummary(String summary)

Method Parameters

summary
-

getSummary()

public java.lang.String getSummary()

setSeverity( String severity )

public com.smartdevicelink.proxy.rpc.WeatherAlert setSeverity(String severity)

Method Parameters

severity
-

getSeverity()

public java.lang.String getSeverity()

setRegions( java.util.List<java.lang.String> regions )

Min Size: 1, Max Size: 99

public com.smartdevicelink.proxy.rpc.WeatherAlert setRegions(java.util.List<java.lang.String> regions)

Method Parameters

regions
-

getRegions()

public java.util.List getRegions()

setExpires( DateTime expires )

public com.smartdevicelink.proxy.rpc.WeatherAlert setExpires(DateTime expires)

Method Parameters

expires
-

getExpires()

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

setTimeIssued( DateTime timeIssued )

public com.smartdevicelink.proxy.rpc.WeatherAlert setTimeIssued(DateTime timeIssued)

Method Parameters

timeIssued
-

getTimeIssued()

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

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