Modifier and Type | Method | Description |
---|---|---|
Eapd |
getKind() |
The kind of the device.
|
String |
getNetworkAddress() |
The network (MAC) address of the device.
|
Map<String,Object> |
getProperties() |
Returns all properties for an instance of this class.
|
int |
getSoundVolume() |
The output volume for the device (0 = minimum, 100 = maximum).
|
boolean |
isActive() |
Is the device currently being played to?
|
boolean |
isAvailable() |
Is the device currently available?
|
boolean |
isProtected() |
Is the device password- or passcode-protected?
|
boolean |
isSelected() |
Is the device currently selected?
|
boolean |
isSupportsAudio() |
Does the device support audio playback?
|
boolean |
isSupportsVideo() |
Does the device support video playback?
|
void |
setSelected(boolean selected) |
Is the device currently selected?
|
void |
setSoundVolume(int soundVolume) |
The output volume for the device (0 = minimum, 100 = maximum).
|
getContainer, getId, getIndex, getKlass, getName, getPersistentId, setName
cast, getApplicationReference, getObjectReference, getTypeClass, isInstanceOf
static final TypeClass CLASS
@Code("pAct") @Kind("property") @Name("active") @Type("boolean") boolean isActive()
@Code("pAva") @Kind("property") @Name("available") @Type("boolean") boolean isAvailable()
@Code("pKnd") @Kind("property") @Name("kind") @Type("eAPD") Eapd getKind()
@Code("pMAC") @Kind("property") @Name("network address") @Type("text") String getNetworkAddress()
@Code("pPro") @Kind("property") @Name("protected") @Type("boolean") boolean isProtected()
@Code("selc") @Kind("property") @Name("selected") @Type("boolean") boolean isSelected()
@Code("selc") @Kind("property") @Name("selected") @Type("boolean") void setSelected(boolean selected)
selected
- new property value@Code("pAud") @Kind("property") @Name("supports audio") @Type("boolean") boolean isSupportsAudio()
@Code("pVid") @Kind("property") @Name("supports video") @Type("boolean") boolean isSupportsVideo()
@Code("pVol") @Kind("property") @Name("sound volume") @Type("integer") int getSoundVolume()
@Code("pVol") @Kind("property") @Name("sound volume") @Type("integer") void setSoundVolume(int soundVolume)
soundVolume
- new property valueMap<String,Object> getProperties()
getProperties
in interface Item