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
GetInteriorVehicleDataResponse

Class GetInteriorVehicleDataResponse

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Fields

KEY_MODULE_DATA

public static final java.lang.String KEY_MODULE_DATA
Constant Value
"moduleData"

KEY_IS_SUBSCRIBED

public static final java.lang.String KEY_IS_SUBSCRIBED
Constant Value
"isSubscribed"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCResponse KEY_SUCCESS, KEY_INFO, KEY_RESULT_CODE
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

GetInteriorVehicleDataResponse()

Constructs a new GetInteriorVehicleDataResponse object

public GetInteriorVehicleDataResponse()

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

Constructs a new GetInteriorVehicleDataResponse object indicated by the Hashtable parameter

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

Constructor Parameters

hash
The Hashtable to use

GetInteriorVehicleDataResponse( Result resultCode, Boolean success )

Constructs a new GetInteriorVehicleDataResponse object

public GetInteriorVehicleDataResponse(Result resultCode,Boolean success)

Constructor Parameters

resultCode
whether the request is successfully processed
success
whether the request is successfully processed

Methods

getModuleData()

Gets the moduleData

public com.smartdevicelink.proxy.rpc.ModuleData getModuleData()

setModuleData( ModuleData moduleData )

Sets the moduleData

public com.smartdevicelink.proxy.rpc.GetInteriorVehicleDataResponse setModuleData(ModuleData moduleData)

Method Parameters

moduleData
specific data for the module that was requested

setIsSubscribed( Boolean isSubscribed )

Sets isSubscribed parameter

public com.smartdevicelink.proxy.rpc.GetInteriorVehicleDataResponse setIsSubscribed(Boolean isSubscribed)

Method Parameters

isSubscribed
It is a conditional-mandatory parameter: must be returned in case "subscribe" parameter was present in the related request. If "true" - the "moduleType" from request is successfully subscribed and the head unit will send onInteriorVehicleData notifications for the moduleType. If "false" - the "moduleType" from request is either unsubscribed or failed to subscribe.

getIsSubscribed()

Gets isSubscribed parameter

public java.lang.Boolean getIsSubscribed()

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCResponse getCorrelationID, setCorrelationID, getSuccess, setSuccess, getResultCode, setResultCode, getInfo, setInfo
com.smartdevicelink.proxy.RPCMessage getFunctionID, getFunctionName, setFunctionName, getMessageType, setParameters, getParameters, getObject, getString, getInteger, getFloat, getDouble, getBoolean, getLong
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