javaclient.structures
Class PlayerDeviceDevlistT
java.lang.Object
javaclient.structures.PlayerDeviceDevlistT
public class PlayerDeviceDevlistT
- extends java.lang.Object
It's useful for applications such as viewer programs and test suites that tailor behave
differently depending on which devices are available. To request the list, set the subtype to
PLAYER_PLAYER_DEVLIST_REQ and leave the rest of the fields blank. Player will return a packet
with subtype PLAYER_PLAYER_DEVLIST_REQ with the fields filled in.
(see the player_device_devlist structure from player.h)
- Version:
- v1.6.3 - Player 1.6.3 (all interfaces) supported
- v1.6.2 - Player 1.6.2 supported, Javadoc documentation, several bugfixes
- v1.5a - Player 1.5 supported (most popular devices)
- Author:
- Maxim A. Batalin & Radu Bogdan Rusu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlayerDeviceDevlistT
public PlayerDeviceDevlistT()
getDeviceCount
public short getDeviceCount()
- Returns:
- the number of devices
setDeviceCount
public void setDeviceCount(short newdevicecount)
- Parameters:
newdevicecount
- number of devices
getDevList
public PlayerDeviceIdT[] getDevList()
- Returns:
- the list of available devices
setDevList
public void setDevList(PlayerDeviceIdT[] newdevlist)
- Parameters:
newdevlist
- list of available devices