public final class UsbAudioDevice extends Object
Modifier and Type | Field and Description |
---|---|
protected static boolean |
DEBUG |
static int |
kAudioDeviceClass_External |
static int |
kAudioDeviceClass_Internal |
static int |
kAudioDeviceClass_Undefined |
static int |
kAudioDeviceClassMask |
static int |
kAudioDeviceMeta_Alsa |
static int |
kAudioDeviceMetaMask |
int |
mCard |
int |
mDevice |
int |
mDeviceClass |
String |
mDeviceDescription |
String |
mDeviceName |
boolean |
mHasCapture |
boolean |
mHasPlayback |
Constructor and Description |
---|
UsbAudioDevice(int card,
int device,
boolean hasPlayback,
boolean hasCapture,
int deviceClass) |
Modifier and Type | Method and Description |
---|---|
String |
toShortString() |
String |
toString()
Returns a string representation of the object.
|
protected static final boolean DEBUG
public int mCard
public int mDevice
public boolean mHasPlayback
public boolean mHasCapture
public static final int kAudioDeviceClassMask
public static final int kAudioDeviceClass_Undefined
public static final int kAudioDeviceClass_Internal
public static final int kAudioDeviceClass_External
public static final int kAudioDeviceMetaMask
public static final int kAudioDeviceMeta_Alsa
public int mDeviceClass
public String mDeviceName
public String mDeviceDescription
public UsbAudioDevice(int card, int device, boolean hasPlayback, boolean hasCapture, int deviceClass)
public String toString()
Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
public String toShortString()