public interface AudioDevice
AudioDevice objects to configure default input/outputCore.getAudioDevices(). ThisCore.getExtendedAudioDevices()| Modifier and Type | Interface | Description |
|---|---|---|
static class |
AudioDevice.Capabilities |
|
static class |
AudioDevice.Type |
| Modifier and Type | Method | Description |
|---|---|---|
AudioDevice.Capabilities |
getCapabilities() |
Returns the capabilities of the device.
|
java.lang.String |
getDeviceName() |
Returns the name of the audio device.
|
java.lang.String |
getDriverName() |
Returns the driver name used by the device.
|
java.lang.String |
getId() |
Returns the id of the audio device.
|
long |
getNativePointer() |
Gets the native pointer used by this class to make native method calls.
|
AudioDevice.Type |
getType() |
Returns the type of the device.
|
java.lang.Object |
getUserData() |
Gets the object stored in this object user's data
|
boolean |
hasCapability(AudioDevice.Capabilities capability) |
Returns whether or not the audio device has the given capability.
|
void |
setUserData(java.lang.Object data) |
Sets the object to store in this object user's data
|
java.lang.String |
toString() |
AudioDevice.Capabilities getCapabilities()
AudioDevice.Capabilities of the audio device (RECORD, PLAY or both) as@NonNull java.lang.String getDeviceName()
@NonNull java.lang.String getDriverName()
@NonNull java.lang.String getId()
AudioDevice.Type getType()
AudioDevice.Type of the audio device (microphone, speaker, earpiece,boolean hasCapability(AudioDevice.Capabilities capability)
capability - the AudioDevice.Capabilities to check void setUserData(java.lang.Object data)
data - the object to storejava.lang.Object getUserData()
long getNativePointer()
java.lang.String toString()
toString in class java.lang.Object