The NDEFReadingEvent interface of the Web NFC API represents events dispatched on new NFC readings obtained by NDEFReader.
   
   
  Constructor
  
   
    NDEFReadingEvent.NDEFReadingEvent()  Experimental 
     
    - 
     
Creates a new NDEFReadingEvent.
     
   
   
  Instance properties
  
   Inherits properties from its parent, Event.
   
    NDEFReadingEvent.message Read only   Experimental 
     
    - 
     
Returns an NDEFMessage object containing the received message.
     
    NDEFReadingEvent.serialNumber Read only   Experimental 
     
    - 
     
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.
     
   
   
  Instance methods
  
   Inherits methods from its parent, Event.
   
  Specifications
  
  Browser compatibility
  
   
    
     
      
        | 
       Desktop | 
       Mobile | 
      
      
        | 
       Chrome | 
       Edge | 
       Firefox | 
       Internet Explorer | 
       Opera | 
       Safari | 
       WebView Android | 
       Chrome Android | 
       Firefox for Android | 
       Opera Android | 
       Safari on IOS | 
       Samsung Internet | 
      
     
     
      
       NDEFReadingEvent | 
       No | 
       No | 
       No | 
       No | 
       No | 
       No | 
       89 | 
       89 | 
       No | 
       63 | 
       No | 
       15.0 | 
      
      
       NDEFReadingEvent | 
       No | 
       No | 
       No | 
       No | 
       No | 
       No | 
       89 | 
       89 | 
       No | 
       63 | 
       No | 
       15.0 | 
      
      
       message | 
       No | 
       No | 
       No | 
       No | 
       No | 
       No | 
       89 | 
       89 | 
       No | 
       63 | 
       No | 
       15.0 | 
      
      
       secure_context_required | 
       No | 
       No | 
       No | 
       No | 
       No | 
       No | 
       89 | 
       89 | 
       No | 
       63 | 
       No | 
       15.0 | 
      
      
       serialNumber | 
       No | 
       No | 
       No | 
       No | 
       No | 
       No | 
       89 | 
       89 | 
       No | 
       63 | 
       No | 
       15.0 |