Media Device
Component
Name: Media Device
Interface: IMediaDeviceComponent
Component Functions:
Name:
Channel:
Level: Command:
cycleMediaDeviceRan-
124
dom()
cycleMediaDeviceRe-
125
peat()
getMediaDeviceSource()
queryMediaDeviceProp-
erties()
queryMediaDeviceProp-
erty(sKeyName)
setMediaDeviceCounter-
NotificationOn(state)
setMediaDeviceRan-
179
dom-
State(RANDOM_ALL)
setMediaDeviceRan-
178
dom-
State(RANDOM_DISC)
setMediaDeviceRan-
180
dom-
State(RANDOM_OFF)
setMediaDeviceRepeat-
183
State(REPEAT_ALL)
setMediaDeviceRepeat-
181
State(REPEAT_DISC)
setMediaDeviceRepeat-
184
State(REPEAT_OFF)
setMediaDeviceRepeat-
182
State(REPEAT_TRACK)
setMediaDevice-
Source(cURISource)
Standard NetLinx API (SNAPI) R 1.8.0
IMediaDeviceComponent
Constant:
MEDIA_RANDOM
MEDIA_REPEAT
?DECODESOURCE
?DECODEPROPS
?DECODEPROP-<key>
MEDIACOUNTERNOTIFY-<state>
MEDIA_RANDOM_ALL_O
N
MEDIA_RANDOM_DISC_
ON
MEDIA_RANDOM_OFF_
ON
MEDIA_REPEAT_ALL_O
N
MEDIA_REPEAT_DISC_
ON
MEDIA_REPEAT_OFF_O
N
MEDIA_REPEAT_TRACK
_ON
DECODESOURCE-<url>
Notes:
Momentary Function Channel: Cycle random when channel is activated
Momentary Function Channel: Cycle repeat when channel is activated
Query for Media Device Source, responds with DECODESOURCE-<url> where <url> is
the URL of the source.
Query for all Media Device Properties, responds with multiple DECODEPROP-
<key>,<value>, one for each property, where <key> is the property key and <value> is
the property value.
Query for one Media Device Properties, responds with DECODEPROP-<key>,<value>
where <key> is the property key and <value> is the property value.
Turn media counter notification on or off, where <state> is 1 or 0
Momentary Function Channel: Random-all is on while channel is active
Momentary Function Channel: Random-disc is on while channel is active
Momentary Function Channel: Random-off is on while channel is active
Momentary Function Channel: Repeat-all is on while channel is active
Momentary Function Channel: Repeat-disc is on while channel is active
Momentary Function Channel: Repeat-off is on while channel is active
Momentary Function Channel: Repeat-track is on while channel is active
Set Media Device Source where <url> is the URL of the source.
75
Need help?
Do you have a question about the CAFE DUET STANDARD NETLINX API (SNAPI) COMPONENTS AND LISTENERS and is the answer not in the manual?
Questions and answers