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

Class VehicleDataResult

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

Individual published data request result.

Parameter List

Param Name Type Description Req. Notes Version Available
dataType VehicleDataType Defined published data element type. SmartDeviceLink 1.0
resultCode VehicleDataResultCode Published data result code. SmartDeviceLink 1.0

Fields

KEY_DATA_TYPE

public static final java.lang.String KEY_DATA_TYPE
Constant Value
"dataType"

KEY_RESULT_CODE

public static final java.lang.String KEY_RESULT_CODE
Constant Value
"resultCode"

Inherited Fields

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

Constructors

VehicleDataResult()

public VehicleDataResult()

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

Constructs a new VehicleDataResult object indicated by the Hashtable parameter

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

Parameters

hash
the Hashtable to use

VehicleDataResult( VehicleDataType dataType, VehicleDataResultCode resultCode )

Individual published data request result.

public VehicleDataResult(VehicleDataType dataType,VehicleDataResultCode resultCode)

Parameters

dataType
Defined published data element type.
resultCode
Published data result code.

Methods

setDataType( VehicleDataType dataType )

public void setDataType(VehicleDataType dataType)

Parameters

dataType

getDataType()

public com.smartdevicelink.proxy.rpc.enums.VehicleDataType getDataType()

setResultCode( VehicleDataResultCode resultCode )

public void setResultCode(VehicleDataResultCode resultCode)

Parameters

resultCode

getResultCode()

public com.smartdevicelink.proxy.rpc.enums.VehicleDataResultCode getResultCode()

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