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
AppServiceData

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)

Constructor Parameters

hash

AppServiceData( String serviceType, String serviceId )

public AppServiceData(String serviceType,String serviceId)

Constructor Parameters

serviceType
serviceId

Methods

setServiceType( String serviceType )

public com.smartdevicelink.proxy.rpc.AppServiceData setServiceType(String serviceType)

Method Parameters

serviceType
-

getServiceType()

public java.lang.String getServiceType()

setServiceID( String serviceId )

public com.smartdevicelink.proxy.rpc.AppServiceData setServiceID(String serviceId)

Method Parameters

serviceId
-

getServiceID()

public java.lang.String getServiceID()

setMediaServiceData( MediaServiceData mediaServiceData )

public com.smartdevicelink.proxy.rpc.AppServiceData setMediaServiceData(MediaServiceData mediaServiceData)

Method Parameters

mediaServiceData
-

getMediaServiceData()

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

setWeatherServiceData( WeatherServiceData weatherServiceData )

public com.smartdevicelink.proxy.rpc.AppServiceData setWeatherServiceData(WeatherServiceData weatherServiceData)

Method Parameters

weatherServiceData
-

getWeatherServiceData()

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

setNavigationServiceData( NavigationServiceData navigationServiceData )

public com.smartdevicelink.proxy.rpc.AppServiceData setNavigationServiceData(NavigationServiceData navigationServiceData)

Method Parameters

navigationServiceData
-

getNavigationServiceData()

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

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