MDN self-hosted library · e01.org

NDEFReadingEvent

Web NFC API

no runnable cells web-api-interface upstream source

Web NFC API

The NDEFReadingEvent interface of the Web NFC API represents events dispatched on new NFC readings obtained by NDEFReader.

Constructor

  • NDEFReadingEvent.NDEFReadingEvent()
  • : Creates a new NDEFReadingEvent.

Instance properties

Inherits properties from its parent, Event.

  • NDEFReadingEvent.message
  • : Returns an NDEFMessage object containing the received message.
  • NDEFReadingEvent.serialNumber
  • : Returns the serial number of the device, which is used for anti-collision and identification, or an empty string if no serial number is available.

Instance methods

Inherits methods from its parent, Event.

Specifications

Browser compatibility