NDEFMessage

Draft
This page is not complete.

Secure context
This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The NDEFMessage interface of the Web NFC API is an abstract interface that represents message that can be received or sent to a to compatible NFC devices, e.g. NFC tags supporting NDEF.

Constructor

NDEFMessage.NDEFMessage()
Returns a new NDEFMessage containing specified data.

Attributes

NDEFMessage.records Read only
Represents a list of NDEF records defining the NDEF message.

Specifications

Specification Status Comment
Web NFC, NDEFMessage Draft Initial definition.

Browser compatibility

No compatibility data found. Please contribute data for "api.NDEFMessage" (depth: 1) to the MDN compatibility data repository.