InputDeviceIdentifierpublic final class InputDeviceIdentifier extends Object implements android.os.ParcelableWrapper for passing identifying information for input devices. |
Fields Summary |
---|
private final String | mDescriptor | private final int | mVendorId | private final int | mProductId | public static final Parcelable.Creator | CREATOR |
Constructors Summary |
---|
public InputDeviceIdentifier(String descriptor, int vendorId, int productId)
this.mDescriptor = descriptor;
this.mVendorId = vendorId;
this.mProductId = productId;
| private InputDeviceIdentifier(android.os.Parcel src)
mDescriptor = src.readString();
mVendorId = src.readInt();
mProductId = src.readInt();
|
Methods Summary |
---|
public int | describeContents()
return 0;
| public java.lang.String | getDescriptor()
return mDescriptor;
| public int | getProductId()
return mProductId;
| public int | getVendorId()
return mVendorId;
| public void | writeToParcel(android.os.Parcel dest, int flags)
dest.writeString(mDescriptor);
dest.writeInt(mVendorId);
dest.writeInt(mProductId);
|
|