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
JavaEE Documentation
DIDResult

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()

public DIDResult()

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

Constructs a new DIDResult object indicated by the Hashtable parameter

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

Constructor Parameters

hash
The hash table to use to create an instance of this RPC

DIDResult( VehicleDataResultCode resultCode, Integer didLocation )

public DIDResult(VehicleDataResultCode resultCode,Integer didLocation)

Constructor Parameters

resultCode
didLocation

Methods

setResultCode( VehicleDataResultCode resultCode )

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

Method Parameters

resultCode

getResultCode()

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

setDidLocation( Integer didLocation )

public com.smartdevicelink.proxy.rpc.DIDResult setDidLocation(Integer didLocation)

Method Parameters

didLocation

getDidLocation()

public java.lang.Integer getDidLocation()

setData( String data )

public com.smartdevicelink.proxy.rpc.DIDResult setData(String data)

Method Parameters

data

getData()

public java.lang.String getData()

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