public class DeviceStatus extends 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 |
DeviceLevelStatus,
GetVehicleData,
OnVehicleData| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_BATT_LEVEL_STATUS |
static String |
KEY_BT_ICON_ON |
static String |
KEY_CALL_ACTIVE |
static String |
KEY_E_CALL_EVENT_ACTIVE |
static String |
KEY_MONO_AUDIO_OUTPUT_MUTED |
static String |
KEY_PHONE_ROAMING |
static String |
KEY_PRIMARY_AUDIO_SOURCE |
static String |
KEY_SIGNAL_LEVEL_STATUS |
static String |
KEY_STEREO_AUDIO_OUTPUT_MUTED |
static String |
KEY_TEXT_MSG_AVAILABLE |
static String |
KEY_VOICE_REC_ON |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
DeviceStatus()
Constructs a newly allocated DeviceStatus object
|
DeviceStatus(Boolean voiceRecOn,
Boolean btIconOn,
Boolean callActive,
Boolean phoneRoaming,
Boolean textMsgAvailable,
DeviceLevelStatus battLevelStatus,
Boolean stereoAudioOutputMuted,
Boolean monoAudioOutputMuted,
DeviceLevelStatus signalLevelStatus,
PrimaryAudioSource primaryAudioSource,
Boolean eCallEventActive)
Constructs a newly allocated DeviceStatus object
|
DeviceStatus(Hashtable<String,Object> hash)
Constructs a newly allocated DeviceStatus object indicated by the Hashtable parameter
|
| Modifier and Type | Method and Description |
|---|---|
DeviceLevelStatus |
getBattLevelStatus()
get battery level status
|
Boolean |
getBtIconOn()
get the bluetooth connection established
|
Boolean |
getCallActive()
get a call is being active
|
Boolean |
getECallEventActive() |
Boolean |
getMonoAudioOutputMuted()
get the status of the mono audio output channel
|
Boolean |
getPhoneRoaming()
get the phone is in roaming mode
|
PrimaryAudioSource |
getPrimaryAudioSource()
get the current primary audio source of SDL (if selected).
|
DeviceLevelStatus |
getSignalLevelStatus()
get signal level status
|
Boolean |
getStereoAudioOutputMuted()
get the status of the stereo audio output channel
|
Boolean |
getTextMsgAvailable()
get a text message is available
|
Boolean |
getVoiceRecOn()
get whether the voice recognition is on
|
DeviceStatus |
setBattLevelStatus(DeviceLevelStatus battLevelStatus)
set battery level status
|
DeviceStatus |
setBtIconOn(Boolean btIconOn)
set the bluetooth connection established
|
DeviceStatus |
setCallActive(Boolean callActive)
set a call is being active
|
DeviceStatus |
setECallEventActive(Boolean eCallEventActive) |
DeviceStatus |
setMonoAudioOutputMuted(Boolean monoAudioOutputMuted)
set the status of the mono audio output channel
|
DeviceStatus |
setPhoneRoaming(Boolean phoneRoaming)
set the phone is in roaming mode
|
DeviceStatus |
setPrimaryAudioSource(PrimaryAudioSource primaryAudioSource)
set the current primary audio source of SDL (if selected).
|
DeviceStatus |
setSignalLevelStatus(DeviceLevelStatus signalLevelStatus)
set signal level status
|
DeviceStatus |
setStereoAudioOutputMuted(Boolean stereoAudioOutputMuted)
set the status of the stereo audio output channel
|
DeviceStatus |
setTextMsgAvailable(Boolean textMsgAvailable) |
DeviceStatus |
setVoiceRecOn(Boolean voiceRecOn)
set the voice recognition on or off
|
clone, deserializeJSON, equals, format, formatObject, getBoolean, getBulkData, getDouble, getFloat, getInteger, getLong, getMessageTypeName, getObject, getStore, getStoreValue, getString, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_VOICE_REC_ON
public static final String KEY_BT_ICON_ON
public static final String KEY_CALL_ACTIVE
public static final String KEY_PHONE_ROAMING
public static final String KEY_TEXT_MSG_AVAILABLE
public static final String KEY_BATT_LEVEL_STATUS
public static final String KEY_STEREO_AUDIO_OUTPUT_MUTED
public static final String KEY_MONO_AUDIO_OUTPUT_MUTED
public static final String KEY_SIGNAL_LEVEL_STATUS
public static final String KEY_PRIMARY_AUDIO_SOURCE
public static final String KEY_E_CALL_EVENT_ACTIVE
public DeviceStatus()
public DeviceStatus(Hashtable<String,Object> hash)
hash - The Hashtable to usepublic DeviceStatus(@NonNull
Boolean voiceRecOn,
@NonNull
Boolean btIconOn,
@NonNull
Boolean callActive,
@NonNull
Boolean phoneRoaming,
@NonNull
Boolean textMsgAvailable,
@NonNull
DeviceLevelStatus battLevelStatus,
@NonNull
Boolean stereoAudioOutputMuted,
@NonNull
Boolean monoAudioOutputMuted,
@NonNull
DeviceLevelStatus signalLevelStatus,
@NonNull
PrimaryAudioSource primaryAudioSource,
@NonNull
Boolean eCallEventActive)
voiceRecOn - btIconOn - the bluetooth connection establishedcallActive - a call is being activephoneRoaming - the phone is in roaming modetextMsgAvailable - a text message is availablebattLevelStatus - battery level statusstereoAudioOutputMuted - the status of the stereo audio output channelmonoAudioOutputMuted - the status of the mono audio output channelsignalLevelStatus - signal level statusprimaryAudioSource - the current primary audio source of SDL (if selectedeCallEventActive - public DeviceStatus setVoiceRecOn(@NonNull Boolean voiceRecOn)
voiceRecOn - public Boolean getVoiceRecOn()
public DeviceStatus setBtIconOn(@NonNull Boolean btIconOn)
btIconOn - the bluetooth connection establishedpublic Boolean getBtIconOn()
public DeviceStatus setCallActive(@NonNull Boolean callActive)
callActive - a call is being activepublic Boolean getCallActive()
public DeviceStatus setPhoneRoaming(@NonNull Boolean phoneRoaming)
phoneRoaming - the phone is in roaming modepublic Boolean getPhoneRoaming()
public DeviceStatus setTextMsgAvailable(@NonNull Boolean textMsgAvailable)
public Boolean getTextMsgAvailable()
public DeviceStatus setBattLevelStatus(@NonNull DeviceLevelStatus battLevelStatus)
battLevelStatus - battery level statuspublic DeviceLevelStatus getBattLevelStatus()
public DeviceStatus setStereoAudioOutputMuted(@NonNull Boolean stereoAudioOutputMuted)
stereoAudioOutputMuted - the status of the stereo audio output channelpublic Boolean getStereoAudioOutputMuted()
public DeviceStatus setMonoAudioOutputMuted(@NonNull Boolean monoAudioOutputMuted)
monoAudioOutputMuted - the status of the mono audio output channelpublic Boolean getMonoAudioOutputMuted()
public DeviceStatus setSignalLevelStatus(@NonNull DeviceLevelStatus signalLevelStatus)
signalLevelStatus - signal level statuspublic DeviceLevelStatus getSignalLevelStatus()
public DeviceStatus setPrimaryAudioSource(@NonNull PrimaryAudioSource primaryAudioSource)
primaryAudioSource - the current primary audio source of SDL (if selected).public PrimaryAudioSource getPrimaryAudioSource()
public DeviceStatus setECallEventActive(@NonNull Boolean eCallEventActive)
public Boolean getECallEventActive()