NDEFReader()

Draft

This page is not complete.

Secure context

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

The NDEFReader() constructor of the Web NFC API returns a newly constructed NDEFReader object used to read NDEF messages from compatiable NFC devices, e.g. NDEF tags, within the reader's magnetic induction field.

Syntax

writer = new NDEFReader();

Parameters

None.

Return value

A new NDEFReader.

Specifications

Specification
Web NFC API
# dom-ndefreader-constructor

Browser compatibility

BCD tables only load in the browser