FileDocCategorySizeDatePackage
InputDeviceIdentifier.javaAPI DocAndroid 5.1 API2239Thu Mar 12 22:22:10 GMT 2015android.hardware.input

InputDeviceIdentifier

public final class InputDeviceIdentifier extends Object implements android.os.Parcelable
Wrapper for passing identifying information for input devices.
hide

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 intdescribeContents()

        return 0;
    
public java.lang.StringgetDescriptor()

        return mDescriptor;
    
public intgetProductId()

        return mProductId;
    
public intgetVendorId()

        return mVendorId;
    
public voidwriteToParcel(android.os.Parcel dest, int flags)

        dest.writeString(mDescriptor);
        dest.writeInt(mVendorId);
        dest.writeInt(mProductId);