ResultStorageDescriptorpublic final class ResultStorageDescriptor extends Object implements android.os.ParcelableDescribes the way to store scan result. |
Fields Summary |
---|
private int | mType | private int | mOffset | private int | mLength | public static final Parcelable.Creator | CREATOR |
Constructors Summary |
---|
public ResultStorageDescriptor(int type, int offset, int length)Constructor of {@link ResultStorageDescriptor}
mType = type;
mOffset = offset;
mLength = length;
| private ResultStorageDescriptor(android.os.Parcel in)
ReadFromParcel(in);
|
Methods Summary |
---|
private void | ReadFromParcel(android.os.Parcel in)
mType = in.readInt();
mOffset = in.readInt();
mLength = in.readInt();
| public int | describeContents()
return 0;
| public int | getLength()
return mLength;
| public int | getOffset()
return mOffset;
| public int | getType()
return mType;
| public void | writeToParcel(android.os.Parcel dest, int flags)
dest.writeInt(mType);
dest.writeInt(mOffset);
dest.writeInt(mLength);
|
|