User Guide
87
Standard NetLinx API (SNAPI) R 1.8.0
Digital Media Server Functions (Cont.)
Name Component Channel Level Command Constant Notes
setPowerSensor(nld,nIOChan) IPowerComponent IOLINK-<dps>,<chan-
nel>
Associate a Power Sensor with the device
where <dps> is the DPS in string form, i.e.
17:1:0, and <channel> is the channel on
the IO device to which the power sensor is
connected.
processPowerEvent(ON) IPowerComponentListener 255 POWER_FB Feedback Channel: Power state changed,
power is on while channel is on
cycleVolumeMute() IVolumeComponent 26 VOL_MUTE Momentary Function Channel: Cycle vol-
ume mute when channel is activated
cycleVolumePreset() IVolumeComponent 138 VOL_PRESET Momentary Function Channel: Cycle cam-
era preset when channel is activated
getVolumePreset() IVolumeComponent ?VOLPRESET Query for volume preset, responds with
VOLPRESET-<preset>
saveVolumePreset(preset) IVolumeComponent VOLPRESETSAVE-
<preset>
Save Volume Preset where <preset> is 1 to
x and x is the maximum supported preset
(see specific module documentation)
setVolume(level) IVolumeComponent 1 VOL_LVL Set volume, range is 0-255
setVolumeMuteOn(state) IVolumeComponent 199 VOL_MUTE_ON Discrete Function Channel: Volume mute is
on while channel is active
setVolumePreset(preset) IVolumeComponent VOLPRESET-<preset> Recall volume preset where <preset> is 1
to x and x is the maximum supported pre-
set (see specific module documentation)
setVolumeRamp(UP) IVolumeComponent 24 VOL_UP Ramping Channel: Volume is ramped up
while channel is active
setVolumeRamp(DOWN) IVolumeComponent 25 VOL_DN Ramping Channel: Volume is ramped
down while channel is active
processVolumeEvent(int) IVolumeComponentListener 1 VOL_LVL Volume changed, range is 0-255
processVolumeMuteEvent(boolean) IVolumeComponentListener 199 VOL_MUTE_FB Feedback Channel: Volume is muted if
channel is on
processVolumePresetEvent(int) IVolumeComponentListener VOLPRESET-<preset> Volume preset changed, where <preset> is
1-x and x is the maximum supported preset
(see specific module documentation)
processVolumeRampEvent(UP) IVolumeComponentListener 24 VOL_UP_FB Feedback Channel: Volume is ramping up
while channel is on
processVolumeRampEvent(DOWN) IVolumeComponentListener 25 VOL_DN_FB Feedback Channel: Volume is ramping
down while channel is on