NDEFMessage

Draft

This page is not complete.

Secure context

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

Experimental

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() This is an experimental API that should not be used in production code.
Returns a new NDEFMessage containing specified data.

Attributes

NDEFMessage.records This is an experimental API that should not be used in production code. Read only
Represents a list of NDEF records defining the NDEF message.

Specifications

Specification Status Comment
Web NFC, NDEFMessage Draft Initial definition.

Browser compatibility

BCD tables only load in the browser