java.lang.Object
com.smartdevicelink.proxy.RPCStruct
Parameter List
Name | Type | Description | SmartDeviceLink Ver. Available |
---|---|---|---|
voiceRecOn | Boolean | Voice recognition is on | SmartDeviceLink 2.0 |
btIconOn | Boolean | Bluetooth connection established | SmartDeviceLink 2.0 |
callActive | Boolean | A call is being active | SmartDeviceLink 2.0 |
phoneRoaming | Boolean | The phone is in roaming mode | SmartDeviceLink 2.0 |
textMsgAvailable | Boolean | A text message is available | SmartDeviceLink 2.0 |
battLevelStatus | DeviceLevelStatus | Battery level status | SmartDeviceLink 2.0 |
stereoAudioOutputMuted | Boolean | Status of the stereo audio output channel | SmartDeviceLink 2.0 |
monoAudioOutputMuted | Boolean | Status of the mono audio output channel | SmartDeviceLink 2.0 |
signalLevelStatus | DeviceLevelStatus | Signal level status | SmartDeviceLink 2.0 |
primaryAudioSource | PrimaryAudioSource | Reflects the current primary audio source of SDL (if selected). | SmartDeviceLink 2.0 |
eCallEventActive | Boolean | Reflects, if an eCall event is active | SmartDeviceLink 2.0 |
public static final java.lang.String KEY_VOICE_REC_ON
public static final java.lang.String KEY_BT_ICON_ON
public static final java.lang.String KEY_CALL_ACTIVE
public static final java.lang.String KEY_PHONE_ROAMING
public static final java.lang.String KEY_TEXT_MSG_AVAILABLE
public static final java.lang.String KEY_BATT_LEVEL_STATUS
public static final java.lang.String KEY_STEREO_AUDIO_OUTPUT_MUTED
public static final java.lang.String KEY_MONO_AUDIO_OUTPUT_MUTED
public static final java.lang.String KEY_SIGNAL_LEVEL_STATUS
public static final java.lang.String KEY_PRIMARY_AUDIO_SOURCE
public static final java.lang.String KEY_E_CALL_EVENT_ACTIVE
From Class | Fields |
---|---|
com.smartdevicelink.proxy.RPCStruct | KEY_BULK_DATA, KEY_PROTECTED, store |
Constructs a newly allocated DeviceStatus object
public DeviceStatus()
Constructs a newly allocated DeviceStatus object indicated by the Hashtable parameter
public DeviceStatus(java.util.Hashtable<java.lang.String, java.lang.Object> hash)
Constructs a newly allocated DeviceStatus object
public DeviceStatus(Boolean voiceRecOn,Boolean btIconOn,Boolean callActive,Boolean phoneRoaming,Boolean textMsgAvailable,DeviceLevelStatus battLevelStatus,Boolean stereoAudioOutputMuted,Boolean monoAudioOutputMuted,DeviceLevelStatus signalLevelStatus,PrimaryAudioSource primaryAudioSource,Boolean eCallEventActive)
set the voice recognition on or off
public com.smartdevicelink.proxy.rpc.DeviceStatus setVoiceRecOn(Boolean voiceRecOn)
get whether the voice recognition is on
public java.lang.Boolean getVoiceRecOn()
set the bluetooth connection established
public com.smartdevicelink.proxy.rpc.DeviceStatus setBtIconOn(Boolean btIconOn)
get the bluetooth connection established
public java.lang.Boolean getBtIconOn()
set a call is being active
public com.smartdevicelink.proxy.rpc.DeviceStatus setCallActive(Boolean callActive)
get a call is being active
public java.lang.Boolean getCallActive()
set the phone is in roaming mode
public com.smartdevicelink.proxy.rpc.DeviceStatus setPhoneRoaming(Boolean phoneRoaming)
get the phone is in roaming mode
public java.lang.Boolean getPhoneRoaming()
public com.smartdevicelink.proxy.rpc.DeviceStatus setTextMsgAvailable(Boolean textMsgAvailable)
get a text message is available
public java.lang.Boolean getTextMsgAvailable()
set battery level status
public com.smartdevicelink.proxy.rpc.DeviceStatus setBattLevelStatus(DeviceLevelStatus battLevelStatus)
get battery level status
public com.smartdevicelink.proxy.rpc.enums.DeviceLevelStatus getBattLevelStatus()
set the status of the stereo audio output channel
public com.smartdevicelink.proxy.rpc.DeviceStatus setStereoAudioOutputMuted(Boolean stereoAudioOutputMuted)
get the status of the stereo audio output channel
public java.lang.Boolean getStereoAudioOutputMuted()
set the status of the mono audio output channel
public com.smartdevicelink.proxy.rpc.DeviceStatus setMonoAudioOutputMuted(Boolean monoAudioOutputMuted)
get the status of the mono audio output channel
public java.lang.Boolean getMonoAudioOutputMuted()
set signal level status
public com.smartdevicelink.proxy.rpc.DeviceStatus setSignalLevelStatus(DeviceLevelStatus signalLevelStatus)
get signal level status
public com.smartdevicelink.proxy.rpc.enums.DeviceLevelStatus getSignalLevelStatus()
set the current primary audio source of SDL (if selected).
public com.smartdevicelink.proxy.rpc.DeviceStatus setPrimaryAudioSource(PrimaryAudioSource primaryAudioSource)
get the current primary audio source of SDL (if selected).
public com.smartdevicelink.proxy.rpc.enums.PrimaryAudioSource getPrimaryAudioSource()
public com.smartdevicelink.proxy.rpc.DeviceStatus setECallEventActive(Boolean eCallEventActive)
public java.lang.Boolean getECallEventActive()
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 |