javaclient.structures
Class PlayerDeviceDevlistT

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

Constructor Summary
PlayerDeviceDevlistT()
           
 
Method Summary
 short getDeviceCount()
           
 PlayerDeviceIdT[] getDevList()
           
 void setDeviceCount(short newdevicecount)
           
 void setDevList(PlayerDeviceIdT[] newdevlist)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerDeviceDevlistT

public PlayerDeviceDevlistT()
Method Detail

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