Package org.eclipse.keyple.plugin.android.nfc

This document is the specification of the API dedicated to the integration of the Android NFC plugin in a Android Keyple Application.

Observability

The Android NFC Plugin implements the Keyple observation pattern at reader (card insertion and removal) level, in this case it is imperative to cast the Reader objects as ObservableReader and to implement the interfaces defined for this purpose in the Keyple Service SPI package. However, the use of these observation features is optional; it is possible to operate in a static mode on the reader side.

Types

Link copied to clipboard
interface AndroidNfcPlugin : KeyplePluginExtension

Generic type for a Keyple Android NFC plugin extension.

Link copied to clipboard
interface AndroidNfcPluginFactory : KeyplePluginExtensionFactory

Interface for the Nfc Plugin Factory. Use AndroidNfcPluginFactoryProvider to retrieve an instance of it.

Link copied to clipboard
class AndroidNfcPluginFactoryProvider(activity: Activity) : AndroidNfcPluginFactory

The following example shows how to create a AndroidNfcPluginFactory object with the AndroidNfcPluginFactoryProvider and use it to register a Plugin.

Link copied to clipboard
interface AndroidNfcReader : KeypleReaderExtension

Generic type for a Keyple Android NFC reader extension.

Link copied to clipboard

Enum mapping Protocols to android NFC Tech identifiers.