Table of Contents

Class NDEFReadingEvent

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll
NOTE
Experimental
The NDEFReadingEvent interface of the Web NFC API represents events dispatched on new NFC readings obtained by NDEFReader.
[Value("NDEFReadingEvent")]
public class NDEFReadingEvent : Event
Inheritance
NDEFReadingEvent
Inherited Members

Remarks

Constructors

NDEFReadingEvent()

public NDEFReadingEvent()

NDEFReadingEvent(string, NDEFReadingEventInit)

NOTE
Experimental
The NDEFReadingEvent() constructor creates a new NDEFReadingEvent object which represents events dispatched on new NFC readings obtained by NDEFReader.
public NDEFReadingEvent(string type, NDEFReadingEventInit readingEventInitDict)

Parameters

type string
readingEventInitDict NDEFReadingEventInit

Remarks

Properties

Message

NOTE
Experimental
The message property of the NDEFReadingEvent interface returns an NDEFMessage object containing the received message.
[Value("message")]
public NDEFMessage Message { get; }

Property Value

NDEFMessage

An NDEFMessage object.

Remarks

SerialNumber

NOTE
Experimental
The serialNumber property of the NDEFReadingEvent interface returns the serial number of the device, which is used for anti-collision and identification, or an empty string if no serial number is available.
[Value("serialNumber")]
public string SerialNumber { get; }

Property Value

string

A string containing the device's serial number.

Remarks