chromium/third_party/blink/renderer/modules/nfc/ndef_reading_event.idl

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Specification at:
// http://w3c.github.io/web-nfc/#dom-ndefreadingevent

[
    RuntimeEnabled=WebNFC,
    SecureContext,
    Exposed=Window
] interface NDEFReadingEvent : Event {
    [CallWith=ScriptState, RaisesException] constructor(DOMString type, NDEFReadingEventInit eventInitDict);
    readonly attribute DOMString serialNumber;
    [SameObject] readonly attribute NDEFMessage message;
};