javaclient2.structures.player
Class PlayerDeviceDevlist
java.lang.Object
javaclient2.structures.player.PlayerDeviceDevlist
public class PlayerDeviceDevlist
- 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, send a null PLAYER_PLAYER_REQ_DEVLIST.
(see the player_device_devlist structure from player.h)
- Version:
- v2.0 - Player 2.0 - initial support
- Author:
- Radu Bogdan Rusu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlayerDeviceDevlist
public PlayerDeviceDevlist()
getDeviceCount
public int getDeviceCount()
- Returns:
- the number of devices
setDeviceCount
public void setDeviceCount(int newdevicescount)
- Parameters:
newdevicescount
- number of devices
getDevList
public PlayerDevAddr[] getDevList()
- Returns:
- the list of available devices
setDevList
public void setDevList(PlayerDevAddr[] newdevlist)
- Parameters:
newdevlist
- list of available devices