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

Class DIDResult

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

Individual requested DID result and data.

Parameter List

Param Name Type Mandatory Additional Description
resultCode VehicleDataResultCode true Individual DID result code
didLocation Integer true minvalue = 0 maxvalue = 65535 The address of DID location from the ReadDID request.
data String false maxlength = 5000 The DID data which is the hex byte string of however many bytes are stored at that location

Fields

KEY_RESULT_CODE

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

KEY_DATA

public static final java.lang.String KEY_DATA
Constant Value
"data"

KEY_DID_LOCATION

public static final java.lang.String KEY_DID_LOCATION
Constant Value
"didLocation"

Inherited Fields

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

Constructors

DIDResult()

Constructs a new DIDResult object indicated by the Hashtable parameter

public DIDResult()

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

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

Parameters

hash

DIDResult( VehicleDataResultCode resultCode, Integer didLocation )

public DIDResult(VehicleDataResultCode resultCode,Integer didLocation)

Parameters

resultCode
didLocation

Methods

setResultCode( VehicleDataResultCode resultCode )

public void setResultCode(VehicleDataResultCode resultCode)

Parameters

resultCode

getResultCode()

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

setDidLocation( Integer didLocation )

public void setDidLocation(Integer didLocation)

Parameters

didLocation

getDidLocation()

public java.lang.Integer getDidLocation()

setData( String data )

public void setData(String data)

Parameters

data

getData()

public java.lang.String getData()

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