Android.Nfc.NdefRecord Members

The members of Android.Nfc.NdefRecord are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Construct an NDEF Record from raw bytes.
Construct an NDEF Record from its component fields.

Public Fields

const
TnfAbsoluteUrishort (3). Indicates the type field contains an absolute-URI BNF construct defined by RFC 3986.
const
TnfEmptyshort (0). Indicates the record is empty.
const
TnfExternalTypeshort (4). Indicates the type field contains an external type name.
const
TnfMimeMediashort (2). Indicates the type field contains a media-type BNF construct, defined by RFC 2046.
const
TnfUnchangedshort (6). Indicates the payload is an intermediate or final chunk of a chunked NDEF Record.
const
TnfUnknownshort (5). Indicates the payload type is unknown.
const
TnfWellKnownshort (1). Indicates the type field contains a well-known RTD type name.

Public Properties

[read-only]
static
CreatorAndroid.OS.IParcelableCreator.
[read-only]
static
RtdAlternativeCarrierIList<byte>. RTD Alternative Carrier type.
[read-only]
static
RtdHandoverCarrierIList<byte>. RTD Handover Carrier type.
[read-only]
static
RtdHandoverRequestIList<byte>. RTD Handover Request type.
[read-only]
static
RtdHandoverSelectIList<byte>. RTD Handover Select type.
[read-only]
static
RtdSmartPosterIList<byte>. RTD Smart Poster type.
[read-only]
static
RtdTextIList<byte>. RTD Text type.
[read-only]
static
RtdUriIList<byte>. RTD URI type.
[read-only]
Tnfshort. Returns the 3-bit TNF.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
CreateApplicationRecord(string) : NdefRecord
Create a new Android Application Record (AAR).
static
CreateExternal(string, string, byte[]) : NdefRecord
Create a new NDEF Record containing external (application-specific) data.
static
CreateMime(string, byte[]) : NdefRecord
Create a new NDEF Record containing MIME data.
static
CreateTextRecord(string, string) : NdefRecord
Create a new NDEF record containing UTF-8 text data.
static
CreateUri(Android.Net.Uri) : NdefRecord
Create a new NDEF Record containing a URI.
static
CreateUri(string) : NdefRecord
Create a new NDEF Record containing a URI.
DescribeContents() : int
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
GetId() : byte[]
Returns the variable length ID.
GetPayload() : byte[]
Returns the variable length payload.
GetTypeInfo() : byte[]
Returns the variable length Type field.
ToByteArray() : byte[]
Return this NDEF Record as a byte array.
ToMimeType() : string
Map this record to a MIME type, or return null if it cannot be mapped.
ToUri() : Android.Net.Uri
Map this record to a URI, or return null if it cannot be mapped.
WriteToParcel(Android.OS.Parcel, Android.OS.ParcelableWriteFlags)
Flatten this object in to a Parcel.