public final class NdefMessage extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<NdefMessage> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
NdefMessage(byte[] data) |
NdefMessage(NdefRecord[] records) |
NdefMessage(NdefRecord record,
NdefRecord... records) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(Object obj) |
int |
getByteArrayLength() |
NdefRecord[] |
getRecords() |
int |
hashCode() |
byte[] |
toByteArray() |
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<NdefMessage> CREATOR
public NdefMessage(byte[] data)
throws FormatException
FormatExceptionpublic NdefMessage(NdefRecord record, NdefRecord... records)
public NdefMessage(NdefRecord[] records)
public NdefRecord[] getRecords()
public int getByteArrayLength()
public byte[] toByteArray()
public int describeContents()
describeContents in interface Parcelablepublic void writeToParcel(Parcel dest, int flags)
writeToParcel in interface ParcelableCopyright © 2008-2013. All Rights Reserved.