| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_AVAILABLE_HD_CHANNELS |
static String |
KEY_AVAILABLE_HDS
Deprecated.
|
static String |
KEY_BAND |
static String |
KEY_FREQUENCY_FRACTION |
static String |
KEY_FREQUENCY_INTEGER |
static String |
KEY_HD_CHANNEL |
static String |
KEY_HD_RADIO_ENABLE |
static String |
KEY_RADIO_ENABLE |
static String |
KEY_RDS_DATA |
static String |
KEY_SIGNAL_CHANGE_THRESHOLD |
static String |
KEY_SIGNAL_STRENGTH |
static String |
KEY_SIS_DATA |
static String |
KEY_STATE |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
RadioControlData() |
RadioControlData(Hashtable<String,Object> hash) |
| Modifier and Type | Method and Description |
|---|---|
List<Integer> |
getAvailableHdChannels()
Gets the availableHdChannels portion of the RadioControlData class
|
Integer |
getAvailableHDs()
Deprecated.
|
RadioBand |
getBand()
Gets the band portion of the RadioControlData class
|
Integer |
getFrequencyFraction()
Gets the frequencyFraction portion of the RadioControlData class
|
Integer |
getFrequencyInteger()
Gets the frequencyInteger portion of the RadioControlData class
|
Integer |
getHdChannel()
Gets the hdChannel portion of the RadioControlData class
|
Boolean |
getHdRadioEnable()
Gets the hdRadioEnable portion of the RadioControlData class
|
Boolean |
getRadioEnable()
Gets the radioEnable portion of the RadioControlData class
Note: If this is set to false, no other data will be included. |
RdsData |
getRdsData()
Gets the rdsData portion of the RadioControlData class
|
Integer |
getSignalChangeThreshold()
Gets the signalChangeThreshold portion of the RadioControlData class
|
Integer |
getSignalStrength()
Gets the signalStrength portion of the RadioControlData class
|
SisData |
getSisData()
Gets the sisData portion of the RadioControlData class
|
RadioState |
getState()
Gets the state portion of the RadioControlData class
|
RadioControlData |
setAvailableHdChannels(List<Integer> availableHdChannels)
Sets the availableHdChannels portion of the RadioControlData class
|
RadioControlData |
setAvailableHDs(Integer availableHDs)
Deprecated.
|
RadioControlData |
setBand(RadioBand band)
Sets the band portion of the RadioControlData class
|
RadioControlData |
setFrequencyFraction(Integer frequencyFraction)
Sets the frequencyFraction portion of the RadioControlData class
|
RadioControlData |
setFrequencyInteger(Integer frequencyInteger)
Sets the frequencyInteger portion of the RadioControlData class
|
RadioControlData |
setHdChannel(Integer hdChannel)
Sets the hdChannel portion of the RadioControlData class
|
RadioControlData |
setHdRadioEnable(Boolean hdRadioEnable)
Sets the hdRadioEnable portion of the RadioControlData class
|
RadioControlData |
setRadioEnable(Boolean radioEnable)
Sets the radioEnable portion of the RadioControlData class
Note: If this is set to false, no other data will be included. |
RadioControlData |
setRdsData(RdsData rdsData)
Sets the rdsData portion of the RadioControlData class
|
RadioControlData |
setSignalChangeThreshold(Integer signalChangeThreshold)
Sets the signalChangeThreshold portion of the RadioControlData class
|
RadioControlData |
setSignalStrength(Integer signalStrength)
Sets the signalStrength portion of the RadioControlData class
|
RadioControlData |
setSisData(SisData sisData)
Sets the sisData portion of the RadioControlData class
|
RadioControlData |
setState(RadioState state)
Sets the state portion of the RadioControlData class
|
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_FREQUENCY_INTEGER
public static final String KEY_FREQUENCY_FRACTION
public static final String KEY_BAND
public static final String KEY_RDS_DATA
@Deprecated public static final String KEY_AVAILABLE_HDS
public static final String KEY_HD_CHANNEL
public static final String KEY_SIGNAL_STRENGTH
public static final String KEY_SIGNAL_CHANGE_THRESHOLD
public static final String KEY_RADIO_ENABLE
public static final String KEY_STATE
public static final String KEY_HD_RADIO_ENABLE
public static final String KEY_SIS_DATA
public static final String KEY_AVAILABLE_HD_CHANNELS
public RadioControlData setFrequencyInteger(Integer frequencyInteger)
frequencyInteger - The integer part of the frequency i.e. for 101.7 this value should be 101public Integer getFrequencyInteger()
public RadioControlData setFrequencyFraction(Integer frequencyFraction)
frequencyFraction - The fractional part of the frequency i.e. for 101.7 is 7.public Integer getFrequencyFraction()
public RadioControlData setBand(RadioBand band)
band - The radio band (AM|FM|XM) of the radio tuner.public RadioBand getBand()
public RadioControlData setRdsData(RdsData rdsData)
rdsData - Read only parameter. See RdsData data type for details.public RdsData getRdsData()
@Deprecated public RadioControlData setAvailableHDs(Integer availableHDs)
availableHDs - Number of HD sub-channels if available.@Deprecated public Integer getAvailableHDs()
public RadioControlData setHdChannel(Integer hdChannel)
hdChannel - Current HD sub-channel if available.public Integer getHdChannel()
public RadioControlData setSignalStrength(Integer signalStrength)
signalStrength - Read only parameter. Indicates the strength of receiving radio signal in current frequency.public Integer getSignalStrength()
public RadioControlData setSignalChangeThreshold(Integer signalChangeThreshold)
signalChangeThreshold - If the signal strength falls below the set value for this parameter, the radio will tune to an alternative frequency.public Integer getSignalChangeThreshold()
public RadioControlData setRadioEnable(Boolean radioEnable)
radioEnable - True if the radio is on, false is the radio is off.public Boolean getRadioEnable()
public RadioControlData setState(RadioState state)
state - Read only parameter. See RadioState data type for details.public RadioState getState()
public RadioControlData setHdRadioEnable(Boolean hdRadioEnable)
hdRadioEnable - True if the hd radio is on, false if the radio is off.public Boolean getHdRadioEnable()
public RadioControlData setSisData(SisData sisData)
sisData - Read-only Station Information Service (SIS) data provides basic information about the station such as call sign, as well as information not displayable to the consumer such as the station identification number.public SisData getSisData()
public RadioControlData setAvailableHdChannels(List<Integer> availableHdChannels)
availableHdChannels - List of available hd sub-channel indexes, empty list means no Hd channel is available, read-only.