Firefox Tomorrow

web api interface

NDEFMessage

View on MDN ↗

Secure contextLimited availability

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 message property, which is passed to the reading event.

Constructor

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

Attributes

  • records Read only Experimental
    • : Returns the list of NDEF records contained in the message.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.