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.
Returns a new
Returns the record type of the record. Records must have either a standardized well-known type name such as
"unknown"or else an external type name, which consists of a domain name and custom type name separated by a colon (":").
Returns the MIME type of the record. This value will be
recordTypeis not equal to
Returns the record identifier, which is an absolute or relative URL used to identify the record.
Note: The uniqueness of the identifier is enforced only by the generator of the record.
DataViewcontaining the raw bytes of the record's payload.
Returns the encoding of a textual payload, or
Returns the language of a textual payload, or
nullif one was not supplied.
|Web NFC API |
BCD tables only load in the browser