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
ModuleData

Class ModuleData

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Fields

KEY_MODULE_TYPE

public static final java.lang.String KEY_MODULE_TYPE
Constant Value
"moduleType"

KEY_RADIO_CONTROL_DATA

public static final java.lang.String KEY_RADIO_CONTROL_DATA
Constant Value
"radioControlData"

KEY_CLIMATE_CONTROL_DATA

public static final java.lang.String KEY_CLIMATE_CONTROL_DATA
Constant Value
"climateControlData"

KEY_SEAT_CONTROL_DATA

public static final java.lang.String KEY_SEAT_CONTROL_DATA
Constant Value
"seatControlData"

KEY_AUDIO_CONTROL_DATA

public static final java.lang.String KEY_AUDIO_CONTROL_DATA
Constant Value
"audioControlData"

KEY_LIGHT_CONTROL_DATA

public static final java.lang.String KEY_LIGHT_CONTROL_DATA
Constant Value
"lightControlData"

KEY_HMI_SETTINGS_CONTROL_DATA

public static final java.lang.String KEY_HMI_SETTINGS_CONTROL_DATA
Constant Value
"hmiSettingsControlData"

KEY_MODULE_ID

public static final java.lang.String KEY_MODULE_ID
Constant Value
"moduleId"

Inherited Fields

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

Constructors

ModuleData()

public ModuleData()

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

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

Constructor Parameters

hash

ModuleData( ModuleType moduleType )

public ModuleData(ModuleType moduleType)

Constructor Parameters

moduleType

Methods

setModuleType( ModuleType moduleType )

Sets the moduleType portion of the ModuleData class

public com.smartdevicelink.proxy.rpc.ModuleData setModuleType(ModuleType moduleType)

Method Parameters

moduleType
The moduleType indicates which type of data should be changed and identifies which data object exists in this struct. For example, if the moduleType is CLIMATE then a "climateControlData" should exist

getModuleType()

Gets the moduleType portion of the ModuleData class

public com.smartdevicelink.proxy.rpc.enums.ModuleType getModuleType()

setRadioControlData( RadioControlData radioControlData )

Sets the radioControlData portion of the ModuleData class

public com.smartdevicelink.proxy.rpc.ModuleData setRadioControlData(RadioControlData radioControlData)

Method Parameters

radioControlData

getRadioControlData()

Gets the radioControlData portion of the ModuleData class

public com.smartdevicelink.proxy.rpc.RadioControlData getRadioControlData()

setClimateControlData( ClimateControlData climateControlData )

Sets the climateControlData portion of the ModuleData class

public com.smartdevicelink.proxy.rpc.ModuleData setClimateControlData(ClimateControlData climateControlData)

Method Parameters

climateControlData

getClimateControlData()

Gets the climateControlData portion of the ModuleData class

public com.smartdevicelink.proxy.rpc.ClimateControlData getClimateControlData()

setSeatControlData( SeatControlData seatControlData )

Sets the seatControlData portion of the ModuleData class

public com.smartdevicelink.proxy.rpc.ModuleData setSeatControlData(SeatControlData seatControlData)

Method Parameters

seatControlData

getSeatControlData()

Gets the seatControlData portion of the ModuleData class

public com.smartdevicelink.proxy.rpc.SeatControlData getSeatControlData()

setAudioControlData( AudioControlData audioControlData )

Sets the audioControlData portion of the ModuleData class

public com.smartdevicelink.proxy.rpc.ModuleData setAudioControlData(AudioControlData audioControlData)

Method Parameters

audioControlData

getAudioControlData()

Gets the audioControlData portion of the ModuleData class

public com.smartdevicelink.proxy.rpc.AudioControlData getAudioControlData()

setLightControlData( LightControlData lightControlData )

Sets the lightControlData portion of the ModuleData class

public com.smartdevicelink.proxy.rpc.ModuleData setLightControlData(LightControlData lightControlData)

Method Parameters

lightControlData

getLightControlData()

Gets the lightControlData portion of the ModuleData class

public com.smartdevicelink.proxy.rpc.LightControlData getLightControlData()

setHmiSettingsControlData( HMISettingsControlData hmiSettingsControlData )

Sets the hmiSettingsControlData portion of the ModuleData class

public com.smartdevicelink.proxy.rpc.ModuleData setHmiSettingsControlData(HMISettingsControlData hmiSettingsControlData)

Method Parameters

hmiSettingsControlData

getHmiSettingsControlData()

Gets the hmiSettingsControlData portion of the ModuleData class

public com.smartdevicelink.proxy.rpc.HMISettingsControlData getHmiSettingsControlData()

setModuleId( String id )

Sets the Module ID of the ModuleData class

public com.smartdevicelink.proxy.rpc.ModuleData setModuleId(String id)

Method Parameters

id
the id to be set

getModuleId()

Gets the Module ID of the ModuleData class

public java.lang.String getModuleId()

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