org.virtualbox_7_0
Class IHostAudioDevice

java.lang.Object
  extended by org.virtualbox_7_0.IUnknown
      extended by org.virtualbox_7_0.IHostAudioDevice

public class IHostAudioDevice
extends IUnknown

Represents an audio device provided by the host OS. Interface ID: {CFDE1265-3140-4048-A81F-A1E280DFBD75}


Field Summary
 
Fields inherited from class org.virtualbox_7_0.IUnknown
obj, objMgr, port
 
Constructor Summary
IHostAudioDevice(java.lang.String wrapped, org.virtualbox_7_0.ObjectRefManager objMgr, org.virtualbox_7_0.jaxws.VboxPortType port)
           
 
Method Summary
 java.lang.Boolean getDefaultIn()
          Whether this device is being marked as the default input device by the host OS.
 java.lang.Boolean getDefaultOut()
          Whether this device is being marked as the default output device by the host OS.
 java.lang.String getId()
          Unique device ID.
 java.lang.Boolean getIsHotPlug()
          Whether this device is being marked as a hotplug device, i.e.
 java.lang.String getName()
          Friendly name of the device.
 java.lang.String getProperty(java.lang.String key)
          Returns an audio specific property string.
 AudioDeviceState getState()
          Current device state.
 AudioDeviceType getType()
          Device type.
 AudioDirection getUsage()
          Usage type of the device.
static IHostAudioDevice queryInterface(IUnknown obj)
           
 void setDefaultIn(java.lang.Boolean value)
          Whether this device is being marked as the default input device by the host OS.
 void setDefaultOut(java.lang.Boolean value)
          Whether this device is being marked as the default output device by the host OS.
 void setIsHotPlug(java.lang.Boolean value)
          Whether this device is being marked as a hotplug device, i.e.
 void setName(java.lang.String value)
          Friendly name of the device.
 void setState(AudioDeviceState value)
          Current device state.
 void setType(AudioDeviceType value)
          Device type.
 void setUsage(AudioDirection value)
          Usage type of the device.
 
Methods inherited from class org.virtualbox_7_0.IUnknown
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IHostAudioDevice

public IHostAudioDevice(java.lang.String wrapped,
                        org.virtualbox_7_0.ObjectRefManager objMgr,
                        org.virtualbox_7_0.jaxws.VboxPortType port)
Method Detail

getId

public java.lang.String getId()
Unique device ID.

Returns:
String

getName

public java.lang.String getName()
Friendly name of the device.

Returns:
String

setName

public void setName(java.lang.String value)
Friendly name of the device.

Parameters:
value - String

getType

public AudioDeviceType getType()
Device type.

Returns:
org.virtualbox_7_0.AudioDeviceType

setType

public void setType(AudioDeviceType value)
Device type.

Parameters:
value - org.virtualbox_7_0.AudioDeviceType

getUsage

public AudioDirection getUsage()
Usage type of the device.

Returns:
org.virtualbox_7_0.AudioDirection

setUsage

public void setUsage(AudioDirection value)
Usage type of the device.

Parameters:
value - org.virtualbox_7_0.AudioDirection

getDefaultIn

public java.lang.Boolean getDefaultIn()
Whether this device is being marked as the default input device by the host OS.

Returns:
Boolean

setDefaultIn

public void setDefaultIn(java.lang.Boolean value)
Whether this device is being marked as the default input device by the host OS.

Parameters:
value - Boolean

getDefaultOut

public java.lang.Boolean getDefaultOut()
Whether this device is being marked as the default output device by the host OS.

Returns:
Boolean

setDefaultOut

public void setDefaultOut(java.lang.Boolean value)
Whether this device is being marked as the default output device by the host OS.

Parameters:
value - Boolean

getIsHotPlug

public java.lang.Boolean getIsHotPlug()
Whether this device is being marked as a hotplug device, i.e. can be removed from the system.

Returns:
Boolean

setIsHotPlug

public void setIsHotPlug(java.lang.Boolean value)
Whether this device is being marked as a hotplug device, i.e. can be removed from the system.

Parameters:
value - Boolean

getState

public AudioDeviceState getState()
Current device state.

Returns:
org.virtualbox_7_0.AudioDeviceState

setState

public void setState(AudioDeviceState value)
Current device state.

Parameters:
value - org.virtualbox_7_0.AudioDeviceState

queryInterface

public static IHostAudioDevice queryInterface(IUnknown obj)

getProperty

public java.lang.String getProperty(java.lang.String key)
Returns an audio specific property string. If the requested data key does not exist, this function will succeed and return an empty string in the value argument.

Parameters:
key - Name of the key to get.
Returns:
Value of the requested key.