javaclient2.structures.player
Class PlayerDeviceDevlist

java.lang.Object
  extended by 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:
Author:
Radu Bogdan Rusu

Constructor Summary
PlayerDeviceDevlist()
           
 
Method Summary
 int getDeviceCount()
           
 PlayerDevAddr[] getDevList()
           
 void setDeviceCount(int newdevicescount)
           
 void setDevList(PlayerDevAddr[] newdevlist)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerDeviceDevlist

public PlayerDeviceDevlist()
Method Detail

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