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

Class AppServiceData

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

Contains all the current data of the app service. The serviceType will link to which of the service data objects are included in this object (e.g. if the service type is MEDIA, the mediaServiceData param should be included).

Fields

KEY_SERVICE_TYPE

public static final java.lang.String KEY_SERVICE_TYPE
Constant Value
"serviceType"

KEY_SERVICE_ID

public static final java.lang.String KEY_SERVICE_ID
Constant Value
"serviceID"

KEY_MEDIA_SERVICE_DATA

public static final java.lang.String KEY_MEDIA_SERVICE_DATA
Constant Value
"mediaServiceData"

KEY_WEATHER_SERVICE_DATA

public static final java.lang.String KEY_WEATHER_SERVICE_DATA
Constant Value
"weatherServiceData"

KEY_NAVIGATION_SERVICE_DATA

public static final java.lang.String KEY_NAVIGATION_SERVICE_DATA
Constant Value
"navigationServiceData"

Inherited Fields

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

Constructors

AppServiceData()

public AppServiceData()

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

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

Parameters

hash

AppServiceData( String serviceType, String serviceId )

public AppServiceData(String serviceType,String serviceId)

Parameters

serviceType
serviceId

Methods

setServiceType( String serviceType )

public void setServiceType(String serviceType)

Parameters

serviceType
-

getServiceType()

public java.lang.String getServiceType()

setServiceID( String serviceId )

public void setServiceID(String serviceId)

Parameters

serviceId
-

getServiceID()

public java.lang.String getServiceID()

setMediaServiceData( MediaServiceData mediaServiceData )

public void setMediaServiceData(MediaServiceData mediaServiceData)

Parameters

mediaServiceData
-

getMediaServiceData()

public com.smartdevicelink.proxy.rpc.MediaServiceData getMediaServiceData()

setWeatherServiceData( WeatherServiceData weatherServiceData )

public void setWeatherServiceData(WeatherServiceData weatherServiceData)

Parameters

weatherServiceData
-

getWeatherServiceData()

public com.smartdevicelink.proxy.rpc.WeatherServiceData getWeatherServiceData()

setNavigationServiceData( NavigationServiceData navigationServiceData )

public void setNavigationServiceData(NavigationServiceData navigationServiceData)

Parameters

navigationServiceData
-

getNavigationServiceData()

public com.smartdevicelink.proxy.rpc.NavigationServiceData getNavigationServiceData()

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