Firefox Tomorrow

web api instance property

NDEFRecord: encoding property

View on MDN ↗

Secure contextLimited availability

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

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.