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

Class GetAppServiceData

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

This request asks the module for current data related to the specific service. It also includes an option to subscribe to that service for future updates

Fields

KEY_SERVICE_TYPE

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

KEY_SUBSCRIBE

public static final java.lang.String KEY_SUBSCRIBE
Constant Value
"subscribe"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCRequest onResponseListener
com.smartdevicelink.proxy.RPCMessage KEY_REQUEST, KEY_RESPONSE, KEY_NOTIFICATION, KEY_FUNCTION_NAME, KEY_PARAMETERS, KEY_CORRELATION_ID, messageType, parameters, function
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

GetAppServiceData()

Constructs a new GetAppServiceData object

public GetAppServiceData()

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

Constructs a new GetAppServiceData object indicated by the Hashtable parameter

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

Parameters

hash
The Hashtable to use

GetAppServiceData( String appServiceType )

Constructs a new GetAppServiceData object with the mandatory appServiceType parameter

public GetAppServiceData(String appServiceType)

Parameters

appServiceType
- The appServiceType

Methods

setServiceType( String appServiceType )

public void setServiceType(String appServiceType)

Parameters

appServiceType
- the appServiceType

getServiceType()

public java.lang.String getServiceType()

setSubscribe( Boolean subscribe )

If true, the consumer is requesting to subscribe to all future updates from the service publisher. If false, the consumer doesn't wish to subscribe and should be unsubscribed if it was previously subscribed.

public void setSubscribe(Boolean subscribe)

Parameters

subscribe
-

getSubscribe()

If true, the consumer is requesting to subscribe to all future updates from the service publisher. If false, the consumer doesn't wish to subscribe and should be unsubscribed if it was previously subscribed.

public java.lang.Boolean getSubscribe()

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCRequest getCorrelationID, setCorrelationID, setOnRPCResponseListener, getOnRPCResponseListener
com.smartdevicelink.proxy.RPCMessage getFunctionID, getFunctionName, setFunctionName, getMessageType, setParameters, getParameters, getObject, getString, getInteger, getFloat, getDouble, getBoolean, getLong
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