WebIDLpedia

NDEFRecord interface

Definition

Web NFC defines NDEFRecord



[SecureContext, Exposed=Window]
interface NDEFRecord {
  constructor(NDEFRecordInit recordInit);

  readonly attribute USVString recordType;
  readonly attribute USVString? mediaType;
  readonly attribute USVString? id;
  readonly attribute DataView? data;

  readonly attribute USVString? encoding;
  readonly attribute USVString? lang;

  sequence<NDEFRecord>? toRecords();
};

Methods and attributes that return objects implementing NDEFRecord

Referring IDL interfaces/dictionaries