files/en-us/web/api/ndefrecord/index.md
{{SecureContext_Header}}{{SeeCompatTable}}{{APIRef("Web NFC API")}}
The NDEFRecord interface of the Web NFC API provides data that can be read from, or written to, compatible NFC devices, e.g., NFC tags supporting NDEF.
NDEFRecord."empty", "text", "url", "smart-poster", "absolute-url", "mime", or "unknown" or else an external type name, which consists of a domain name and custom type name separated by a colon (":").null if recordType is not equal to "mime".[!NOTE] The uniqueness of the identifier is enforced only by the generator of the record.
null otherwise.null if one was not supplied.{{Specifications}}
{{Compat}}