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
DTC

Class DTC

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

String containing hexadecimal identifier as well as other common names.

Parameter List

Name Type Description SmartDeviceLink Ver. Available
statusByte String Hexadecimal byte string
  • Maxlength = 500
SmartDeviceLink 2.0

Fields

KEY_IDENTIFIER

public static final java.lang.String KEY_IDENTIFIER
Constant Value
"identifier"

KEY_STATUS_BYTE

public static final java.lang.String KEY_STATUS_BYTE
Constant Value
"statusByte"

Inherited Fields

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

Constructors

DTC()

Constructs a newly allocated DTC object

public DTC()

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

Constructs a newly allocated DTC object indicated by the Hashtable parameter

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

Constructor Parameters

hash
The Hashtable to use

Methods

setIdentifier( String identifier )

set identifier

public com.smartdevicelink.proxy.rpc.DTC setIdentifier(String identifier)

Method Parameters

identifier
the hexadecimal id of the DTC

getIdentifier()

get identifier

public java.lang.String getIdentifier()

setStatusByte( String statusByte )

set Hexadecimal byte string

public com.smartdevicelink.proxy.rpc.DTC setStatusByte(String statusByte)

Method Parameters

statusByte
Hexadecimal byte string

getStatusByte()

get Hexadecimal byte string

public java.lang.String getStatusByte()

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