Skip to content

Modules.NFC.NdefDiscovered

Argument passed to the callback when an NDEF message, tag, or technology is discovered.

Since: 1.0.0 · Platforms: android, iphone

Properties #

action#

Type: String

Identifies the action from the intent.

This value will be one of the constants defined on the Modules.Nfc module object (ACTION_NDEF_DISCOVERED, ACTION_TAG_DISCOVERED, or
ACTION_TECH_DISCOVERED).

error#

Type: String

The error message returned if an error occurred while reading the tag.

error#

Type: Number

The error code returned if an error occurred while reading the tag.

messsages#

Type: Array<Modules.Nfc.NdefMessage>

Array of NDEF messages parsed from the tag.

tag#

Type: Modules.Nfc.NfcTag

NFC tag proxy identifying the tag was was discovered.

Titanium SDK Documentation