MDN self-hosted library · e01.org

NDEFMessage

Web NFC API

no runnable cells web-api-interface upstream source

Web NFC API

The NDEFMessage interface of the Web NFC API represents the content of an NDEF message that has been read from or could be written to an NFC tag. An instance is acquired by calling the NDEFMessage() constructor or from the NDEFReadingEvent.message property, which is passed to the reading event.

Constructor

  • NDEFMessage()
  • : Creates a new NDEFMessage object, initialized with the given NDEF records.

Attributes

  • NDEFMessage.records
  • : Returns the list of NDEF records contained in the message.

Specifications

Browser compatibility