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.
- : Creates a new
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
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
