public class UsbDevice extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<UsbDevice> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(Object o) |
int |
getDeviceClass() |
int |
getDeviceId() |
static int |
getDeviceId(String name) |
String |
getDeviceName() |
static String |
getDeviceName(int id) |
int |
getDeviceProtocol() |
int |
getDeviceSubclass() |
UsbInterface |
getInterface(int index) |
int |
getInterfaceCount() |
int |
getProductId() |
int |
getVendorId() |
int |
hashCode() |
String |
toString() |
void |
writeToParcel(Parcel parcel,
int flags) |
public static final Parcelable.Creator<UsbDevice> CREATOR
public String getDeviceName()
public int getDeviceId()
public int getVendorId()
public int getProductId()
public int getDeviceClass()
public int getDeviceSubclass()
public int getDeviceProtocol()
public int getInterfaceCount()
public UsbInterface getInterface(int index)
public int describeContents()
describeContents in interface Parcelablepublic void writeToParcel(Parcel parcel, int flags)
writeToParcel in interface Parcelablepublic static int getDeviceId(String name)
public static String getDeviceName(int id)
Copyright © 2008-2013. All Rights Reserved.