MDN self-hosted library · e01.org

NDEFRecord: encoding property

Web NFC API

no runnable cells web-api-instance-property upstream source

Web NFC API

The encoding property of the NDEFRecord interface returns the encoding of a textual payload, or null otherwise.

Value

A string which can be one of the following: "utf-8", "utf-16", "utf-16le", or "utf-16be".

Specifications

Browser compatibility