javaclient2.structures.player
Class PlayerDeviceDriverInfo
java.lang.Object
javaclient2.structures.player.PlayerDeviceDriverInfo
public class PlayerDeviceDriverInfo
- extends java.lang.Object
To get a name, send a PLAYER_PLAYER_REQ_DRIVERINFO request that specifies
the addresses of the desired device in the addr field. Set driver_name_count
to 0 and leave driver_name empty. The response will contain the driver name.
(see the player_device_driverinfo 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 |
PlayerDeviceDriverInfo
public PlayerDeviceDriverInfo()
getAddr
public PlayerDevAddr getAddr()
- Returns:
- the device identifier
setAddr
public void setAddr(PlayerDevAddr newAddr)
- Parameters:
newAddr
- device identifier
getDriverNameCount
public int getDriverNameCount()
- Returns:
- length of the driver name
setDriverNameCount
public void setDriverNameCount(int newDriverNameCount)
- Parameters:
newDriverNameCount
- length of the driver name
getDriverName
public java.lang.String getDriverName()
- Returns:
- the driver name
setDriverName
public void setDriverName(java.lang.String newdrivername)
- Parameters:
newdrivername
- driver name