web api interface
NDEFReadingEvent
Secure contextLimited availability
The NDEFReadingEvent interface of the Web NFC API represents events dispatched on new NFC readings obtained by NDEFReader.
Constructor
NDEFReadingEvent.NDEFReadingEvent()Experimental- : Creates a new
NDEFReadingEvent.
- : Creates a new
Instance properties
Inherits properties from its parent, Event.
messageRead only Experimental- : Returns an
NDEFMessageobject containing the received message.
- : Returns an
serialNumberRead 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.