Android.Nfc.Tech.Ndef.NdefMessage Property
Read the current Android.Nfc.NdefMessage on this tag.

Syntax

[get: Android.Runtime.Register("getNdefMessage", "()Landroid/nfc/NdefMessage;", "GetGetNdefMessageHandler")]
public Android.Nfc.NdefMessage NdefMessage { get; }

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Android.Nfc.TagLostExceptionif the tag leaves the field
Java.IO.IOExceptionif there is an I/O failure, or the operation is canceled
Android.Nfc.FormatExceptionif the NDEF Message on the tag is malformed

Remarks

Read the current Android.Nfc.NdefMessage on this tag.

This always reads the current NDEF Message stored on the tag.

Note that this method may return null if the tag was in the INITIALIZED state as defined by NFC Forum, as in that state the tag is formatted to support NDEF but does not contain a message yet.

This is an I/O operation and will block until complete. It must not be called from the main application thread. A blocked call will be canceled with Java.IO.IOException if Ndef.Close is called from another thread.

Requires the NoType:android/Manifest$permission;Href=../../../../reference/android/Manifest.permission.html#NFC permission.

[Android Documentation]

Requirements

Namespace: Android.Nfc.Tech
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 10