Firefox Tomorrow

web api interface

NDEFReadingEvent

View on MDN ↗

Secure contextLimited availability

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

Constructor

Instance properties

Inherits properties from its parent, Event.

  • message Read only Experimental
    • : Returns an NDEFMessage object containing the received message.
  • serialNumber Read only Experimental
    • : 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

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.