# ti.nfc

> Read Android NFC sensors with the Titanium SDK.

- Source: https://titaniumsdk.com/modules/ti.nfc
- Module id: `ti.nfc`
- Repository: https://github.com/tidev/ti.nfc
- Curation: tidev

## Latest release, per platform

- android: 6.0.0, requires Titanium SDK 12.7.0 or later
- ios: 4.1.1, requires Titanium SDK 9.2.0 or later

## Install

Declare it in `tiapp.xml`. The CLI resolves and downloads it on the next build:

```xml
<modules>
  <module platform="android" version="6.0.0">ti.nfc</module>
  <module platform="ios" version="4.1.1">ti.nfc</module>
</modules>
```

## API, at 6.0.0

- `Modules.Nfc`: A cross-platform Near-Field-Communication (NFC) module for iOS and Android. Download the latest release via [Github](https://github.com/appcelerator-modules/ti.nfc/releases).
- `Modules.Nfc.MifareTagTechnology`: Provides access to MIFARE Ultralight properties and I/O operations on a [Modules.Nfc.NfcTag](https://titaniumsdk.com/docs/sdk/Modules.Nfc.NfcTag.md).
- `Modules.Nfc.NativeTagTechnology`: Native Tag Technology class will have the common methods.
- `Modules.Nfc.NdefMessage`: Represents an immutable NDEF message.
- `Modules.Nfc.NdefRecord`: Represents an immutable NDEF record.
- `Modules.Nfc.NdefRecordApplication`: Represents an immutable NDEF record indicating the package that should be used to handle the entire NDEF message.
- `Modules.Nfc.NdefRecordEmpty`: Represents an immutable NDEF record that is empty.
- `Modules.Nfc.NdefRecordExternal`: Represents an immutable NDEF record containing external (application-specific) data.
- `Modules.Nfc.NdefRecordMedia`: Represents an immutable NDEF record containing MIME data.
- `Modules.Nfc.NdefRecordSmartPoster`: Represents an immutable NDEF record containing a Smart Poster message.
- `Modules.Nfc.NdefRecordText`: Represents an immutable NDEF record containing text.
- `Modules.Nfc.NdefRecordUnknown`: Represents an immutable NDEF record containing an unknown data format.
- `Modules.Nfc.NdefRecordUri`: Represents an immutable NDEF record containing a URI.
- `Modules.Nfc.NfcAdapter`: Represents the local NFC adapter.
- `Modules.Nfc.NfcForegroundDispatchFilter`: A filter specifying intent, intent filters and technology lists used to match dispatch intents.
- `Modules.Nfc.NfcNDEFTag`: An interface for interacting with an NDEF tag.
- `Modules.Nfc.NfcNDEFTagTechnology`: Provides access to NDEF tag and I/O operations on a [Modules.Nfc.NfcNDEFTag](https://titaniumsdk.com/docs/sdk/Modules.Nfc.NfcNDEFTag.md)
- `Modules.Nfc.NfcTag`: Represents an NFC tag that has been discovered
- `Modules.Nfc.TagTechnology`: Represents an interface to a specific tag technology.
- `Modules.Nfc.TagTechnologyIsoDep`: Provides access to ISO-DEP (ISO 14443-4) properties and I/O operations on a [Modules.Nfc.NfcTag](https://titaniumsdk.com/docs/sdk/Modules.Nfc.NfcTag.md).
- `Modules.Nfc.TagTechnologyMifareClassic`: Provides access to MIFARE Classic properties and I/O operations on a [Modules.Nfc.NfcTag](https://titaniumsdk.com/docs/sdk/Modules.Nfc.NfcTag.md).
- `Modules.Nfc.TagTechnologyMifareUltralight`: Provides access to MIFARE Ultralight properties and I/O operations on a [Modules.Nfc.NfcTag](https://titaniumsdk.com/docs/sdk/Modules.Nfc.NfcTag.md).
- `Modules.Nfc.TagTechnologyNdef`: Provides access to NDEF content and operations on a [Modules.Nfc.NfcTag](https://titaniumsdk.com/docs/sdk/Modules.Nfc.NfcTag.md).
- `Modules.Nfc.TagTechnologyNdefFormatable`: Provide access to NDEF format operations on a [Modules.Nfc.NfcTag](https://titaniumsdk.com/docs/sdk/Modules.Nfc.NfcTag.md).
- `Modules.Nfc.TagTechnologyNfcA`: Provides access to NFC-A (ISO 14443-3A) properties and I/O operations on a [Modules.Nfc.NfcTag](https://titaniumsdk.com/docs/sdk/Modules.Nfc.NfcTag.md).
- `Modules.Nfc.TagTechnologyNfcB`: Provides access to NFC-B (ISO 14443-3B) properties and I/O operations on a [Modules.Nfc.NfcTag](https://titaniumsdk.com/docs/sdk/Modules.Nfc.NfcTag.md).
- `Modules.Nfc.TagTechnologyNfcF`: Provides access to NFC-F (JIS 6319-4) properties and I/O operations on a [Modules.Nfc.NfcTag](https://titaniumsdk.com/docs/sdk/Modules.Nfc.NfcTag.md).
- `Modules.Nfc.TagTechnologyNfcV`: Provides access to NFC-V (ISO 15693) properties and I/O operations on a [Modules.Nfc.NfcTag](https://titaniumsdk.com/docs/sdk/Modules.Nfc.NfcTag.md).
- `NdefDiscovered`: Argument passed to the callback when an NDEF message, tag, or technology is discovered.

---

- This corpus documents Titanium SDK 13.4.1. Anything here that does not name a version describes 13.4.1.
- Titanium is maintained by TiDev. The Appcelerator toolchain is retired: there is no `appc` CLI, no Appcelerator Studio and no hosted build service. The supported CLI is `titanium` on npm, invoked as `ti`.

