User Guide

233
Standard NetLinx API (SNAPI) R 1.8.0
Settop Box Functions (Cont.)
Name Component Channel Level Command Constant Notes
setStation(station) ITunerStationComponent XCH-<station> Set station, where <station> is a station
string such as "501", "103.7" or "5.1"
setStationPreset(preset) ITunerStationComponent TUNERPRESET-<pre-
set>
Recall tuner preset where <preset> is 1-x
and x is the maximum supported preset
(see specific module documentation)
processBandEvent(TunerBand) ITunerStationComponentListener BAND-<band> Band changed, where <tb> is
AM,FM,FM_MONO,SATELLITE_RADIO,L
ONG_WAVE,MEDIUM_WAVE,SHORT_W
AVE,TV
processStationEvent(String) ITunerStationComponentListener XCH-<station> Station changed, where <station> is a sta-
tion string such as "501", "103.7" or "5.1"
processStationPresetCountEvent(count) ITunerStationComponentListener STATIONPRESET-
COUNT-<count>
Response to ?TUNERCOUNT, where
<count> is the integer number of tuner
components
processStationPresetEvent(int) ITunerStationComponentListener TUNERPRESET-<int> Tuner preset changed, where <preset> is
1-x and x is the maximum supported preset
(see specific module documentation)
processStationPresetPropertiesEv-
ent(String[])
ITunerStationComponentListener STATIONPRESET-
PROPERTIES-
<index>,<dis-
playName>,<value>[;<i
ndex>,<dis-
playName>,<value>]
Response to ?STATIONPRESETPROPER-
TIES
processStationPresetPropertyEvent(String[]) ITunerStationComponentListener STATIONPRESET-
PROPERTY-
<index>,<dis-
playName>,<value>
Response to ?STATIONPRESETPROP-
ERTY
processTunerBandCountEvent(count) ITunerStationComponentListener TUNERBANDCOUNT-
<count>
Response to ?TUNERBANDCOUNT,
where <count> is the integer number of
tuner bands
processTunerBandPropertiesEvent(String[]) ITunerStationComponentListener TUNERBANDPROP-
ERTIES-<index>,<dis-
playName>,<tunerBan
d>[;<index>,<dis-
playName>,<tuner-
Band>]
Response to ?TUNERBANDPROPERTIES
processTunerBandPropertyEvent(String[]) ITunerStationComponentListener TUNERBANDPROP-
ERTY-<index>,<dis-
playName>,<tunerBan
d>
Response to ?TUNERBANDPROPERTY
processTunerComponentCountEvent(count) ITunerStationComponentListener TUNERCOMPONENT-
COUNT
Response to ?TUNERCOUNT, where
<count> is the integer number of tuner
components