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
VehicleDataResult

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"

KEY_OEM_CUSTOM_DATA_TYPE

public static final java.lang.String KEY_OEM_CUSTOM_DATA_TYPE
Constant Value
"oemCustomDataType"

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)

Constructor Parameters

hash
the Hashtable to use

VehicleDataResult( VehicleDataType dataType, VehicleDataResultCode resultCode )

Individual published data request result.

public VehicleDataResult(VehicleDataType dataType,VehicleDataResultCode resultCode)

Constructor Parameters

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

Methods

setResultCode( VehicleDataResultCode resultCode )

public com.smartdevicelink.proxy.rpc.VehicleDataResult setResultCode(VehicleDataResultCode resultCode)

Method Parameters

resultCode

getResultCode()

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

setDataType( VehicleDataType dataType )

public com.smartdevicelink.proxy.rpc.VehicleDataResult setDataType(VehicleDataType dataType)

Method Parameters

dataType

getDataType()

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

setOEMCustomVehicleDataType( String oemCustomDataType )

public com.smartdevicelink.proxy.rpc.VehicleDataResult setOEMCustomVehicleDataType(String oemCustomDataType)

Method Parameters

oemCustomDataType

getOEMCustomVehicleDataType()

public java.lang.String getOEMCustomVehicleDataType()

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