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

Class RPCMessage

Hierarchy

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

Package
com.smartdevicelink.proxy
All Known Subclasses
com.smartdevicelink.proxy.rpc.AddCommand, com.smartdevicelink.proxy.rpc.AddCommandResponse, com.smartdevicelink.proxy.rpc.AddSubMenu, com.smartdevicelink.proxy.rpc.AddSubMenuResponse, com.smartdevicelink.proxy.rpc.Alert, com.smartdevicelink.proxy.rpc.AlertManeuver, com.smartdevicelink.proxy.rpc.AlertManeuverResponse, com.smartdevicelink.proxy.rpc.AlertResponse, com.smartdevicelink.proxy.rpc.ButtonPress, com.smartdevicelink.proxy.rpc.ButtonPressResponse, com.smartdevicelink.proxy.rpc.ChangeRegistration, com.smartdevicelink.proxy.rpc.ChangeRegistrationResponse, com.smartdevicelink.proxy.rpc.CreateInteractionChoiceSet, com.smartdevicelink.proxy.rpc.CreateInteractionChoiceSetResponse, com.smartdevicelink.proxy.rpc.DeleteCommand, com.smartdevicelink.proxy.rpc.DeleteCommandResponse, com.smartdevicelink.proxy.rpc.DeleteFile, com.smartdevicelink.proxy.rpc.DeleteFileResponse, com.smartdevicelink.proxy.rpc.DeleteInteractionChoiceSet, com.smartdevicelink.proxy.rpc.DeleteInteractionChoiceSetResponse, com.smartdevicelink.proxy.rpc.DeleteSubMenu, com.smartdevicelink.proxy.rpc.DeleteSubMenuResponse, com.smartdevicelink.proxy.rpc.DiagnosticMessage, com.smartdevicelink.proxy.rpc.DiagnosticMessageResponse, com.smartdevicelink.proxy.rpc.DialNumber, com.smartdevicelink.proxy.rpc.DialNumberResponse, com.smartdevicelink.proxy.rpc.EndAudioPassThru, com.smartdevicelink.proxy.rpc.EndAudioPassThruResponse, com.smartdevicelink.proxy.rpc.GenericResponse, com.smartdevicelink.proxy.rpc.GetDTCs, com.smartdevicelink.proxy.rpc.GetDTCsResponse, com.smartdevicelink.proxy.rpc.GetInteriorVehicleData, com.smartdevicelink.proxy.rpc.GetInteriorVehicleDataResponse, com.smartdevicelink.proxy.rpc.GetSystemCapability, com.smartdevicelink.proxy.rpc.GetSystemCapabilityResponse, com.smartdevicelink.proxy.rpc.GetVehicleData, com.smartdevicelink.proxy.rpc.GetVehicleDataResponse, com.smartdevicelink.proxy.rpc.GetWayPoints, com.smartdevicelink.proxy.rpc.GetWayPointsResponse, com.smartdevicelink.proxy.rpc.ListFiles, com.smartdevicelink.proxy.rpc.ListFilesResponse, com.smartdevicelink.proxy.rpc.OnAppInterfaceUnregistered, com.smartdevicelink.proxy.rpc.OnAudioPassThru, com.smartdevicelink.proxy.rpc.OnButtonEvent, com.smartdevicelink.proxy.rpc.OnButtonPress, com.smartdevicelink.proxy.rpc.OnCommand, com.smartdevicelink.proxy.rpc.OnDriverDistraction, com.smartdevicelink.proxy.rpc.OnHashChange, com.smartdevicelink.proxy.rpc.OnHMIStatus, com.smartdevicelink.proxy.rpc.OnInteriorVehicleData, com.smartdevicelink.proxy.rpc.OnKeyboardInput, com.smartdevicelink.proxy.rpc.OnLanguageChange, com.smartdevicelink.proxy.rpc.OnLockScreenStatus, com.smartdevicelink.proxy.rpc.OnPermissionsChange, com.smartdevicelink.proxy.rpc.OnRCStatus, com.smartdevicelink.proxy.rpc.OnSdlChoiceChosen, com.smartdevicelink.proxy.rpc.OnStreamRPC, com.smartdevicelink.proxy.rpc.OnSystemRequest, com.smartdevicelink.proxy.rpc.OnTBTClientState, com.smartdevicelink.proxy.rpc.OnTouchEvent, com.smartdevicelink.proxy.rpc.OnVehicleData, com.smartdevicelink.proxy.rpc.OnWayPointChange, com.smartdevicelink.proxy.rpc.PerformAudioPassThru, com.smartdevicelink.proxy.rpc.PerformAudioPassThruResponse, com.smartdevicelink.proxy.rpc.PerformInteraction, com.smartdevicelink.proxy.rpc.PerformInteractionResponse, com.smartdevicelink.proxy.rpc.PutFile, com.smartdevicelink.proxy.rpc.PutFileResponse, com.smartdevicelink.proxy.rpc.ReadDID, com.smartdevicelink.proxy.rpc.ReadDIDResponse, com.smartdevicelink.proxy.rpc.RegisterAppInterface, com.smartdevicelink.proxy.rpc.RegisterAppInterfaceResponse, com.smartdevicelink.proxy.rpc.ResetGlobalProperties, com.smartdevicelink.proxy.rpc.ResetGlobalPropertiesResponse, com.smartdevicelink.proxy.RPCNotification, com.smartdevicelink.proxy.RPCRequest, com.smartdevicelink.proxy.RPCResponse, com.smartdevicelink.proxy.rpc.ScrollableMessage, com.smartdevicelink.proxy.rpc.ScrollableMessageResponse, com.smartdevicelink.proxy.rpc.SendHapticData, com.smartdevicelink.proxy.rpc.SendHapticDataResponse, com.smartdevicelink.proxy.rpc.SendLocation, com.smartdevicelink.proxy.rpc.SendLocationResponse, com.smartdevicelink.proxy.rpc.SetAppIcon, com.smartdevicelink.proxy.rpc.SetAppIconResponse, com.smartdevicelink.proxy.rpc.SetDisplayLayout, com.smartdevicelink.proxy.rpc.SetDisplayLayoutResponse, com.smartdevicelink.proxy.rpc.SetGlobalProperties, com.smartdevicelink.proxy.rpc.SetGlobalPropertiesResponse, com.smartdevicelink.proxy.rpc.SetInteriorVehicleData, com.smartdevicelink.proxy.rpc.SetInteriorVehicleDataResponse, com.smartdevicelink.proxy.rpc.SetMediaClockTimer, com.smartdevicelink.proxy.rpc.SetMediaClockTimerResponse, com.smartdevicelink.proxy.rpc.Show, com.smartdevicelink.proxy.rpc.ShowConstantTbt, com.smartdevicelink.proxy.rpc.ShowConstantTbtResponse, com.smartdevicelink.proxy.rpc.ShowResponse, com.smartdevicelink.proxy.rpc.Slider, com.smartdevicelink.proxy.rpc.SliderResponse, com.smartdevicelink.proxy.rpc.Speak, com.smartdevicelink.proxy.rpc.SpeakResponse, com.smartdevicelink.proxy.rpc.StreamRPCResponse, com.smartdevicelink.proxy.rpc.SubscribeButton, com.smartdevicelink.proxy.rpc.SubscribeButtonResponse, com.smartdevicelink.proxy.rpc.SubscribeVehicleData, com.smartdevicelink.proxy.rpc.SubscribeVehicleDataResponse, com.smartdevicelink.proxy.rpc.SubscribeWayPoints, com.smartdevicelink.proxy.rpc.SubscribeWayPointsResponse, com.smartdevicelink.proxy.rpc.SystemRequest, com.smartdevicelink.proxy.rpc.SystemRequestResponse, com.smartdevicelink.proxy.rpc.UnregisterAppInterface, com.smartdevicelink.proxy.rpc.UnregisterAppInterfaceResponse, com.smartdevicelink.proxy.rpc.UnsubscribeButton, com.smartdevicelink.proxy.rpc.UnsubscribeButtonResponse, com.smartdevicelink.proxy.rpc.UnsubscribeVehicleData, com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse, com.smartdevicelink.proxy.rpc.UnsubscribeWayPoints, com.smartdevicelink.proxy.rpc.UnsubscribeWayPointsResponse, com.smartdevicelink.proxy.rpc.UpdateTurnList, com.smartdevicelink.proxy.rpc.UpdateTurnListResponse

Fields

KEY_REQUEST

public static final java.lang.String KEY_REQUEST
Constant Value
"request"

KEY_RESPONSE

public static final java.lang.String KEY_RESPONSE
Constant Value
"response"

KEY_NOTIFICATION

public static final java.lang.String KEY_NOTIFICATION
Constant Value
"notification"

KEY_FUNCTION_NAME

public static final java.lang.String KEY_FUNCTION_NAME
Constant Value
"name"

KEY_PARAMETERS

public static final java.lang.String KEY_PARAMETERS
Constant Value
"parameters"

KEY_CORRELATION_ID

public static final java.lang.String KEY_CORRELATION_ID
Constant Value
"correlationID"

messageType

protected java.lang.String messageType

parameters

protected java.util.Hashtable parameters

function

protected java.util.Hashtable function

Inherited Fields

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

Constructors

RPCMessage( String functionName )

public RPCMessage(String functionName)

Parameters

functionName

RPCMessage( RPCMessage rpcm )

protected RPCMessage(RPCMessage rpcm)

Parameters

rpcm

RPCMessage( RPCStruct rpcs )

protected RPCMessage(RPCStruct rpcs)

Parameters

rpcs

RPCMessage( String functionName, String messageType )

public RPCMessage(String functionName,String messageType)

Parameters

functionName
messageType

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

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

Parameters

hash

Methods

getFunctionName()

public java.lang.String getFunctionName()

setFunctionName( String functionName )

protected void setFunctionName(String functionName)

Parameters

functionName

getMessageType()

public java.lang.String getMessageType()

setParameters( String key, Object value )

public void setParameters(String key,Object value)

Parameters

key
value

getParameters( String key )

public java.lang.Object getParameters(String key)

Parameters

key

getObject( java.lang.Class tClass, String key )

public java.lang.Object getObject(java.lang.Class tClass,String key)

Parameters

tClass
key

getString( String key )

public java.lang.String getString(String key)

Parameters

key

getInteger( String key )

public java.lang.Integer getInteger(String key)

Parameters

key

getFloat( String key )

public java.lang.Float getFloat(String key)

Parameters

key

getDouble( String key )

public java.lang.Double getDouble(String key)

Parameters

key

getBoolean( String key )

public java.lang.Boolean getBoolean(String key)

Parameters

key

getLong( String key )

public java.lang.Long getLong(String key)

Parameters

key

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