nfc.setListener()


Type Function

Return value none

See also nfc.*


Overview

Sets a listener to recieve reading TAGs nfc events. If there is a pending NFC event, the listener will be invoked right away. Pending event can occur when your app is launched due to an NFC device being discovered.

Syntax

nfc.setListener(listener)