This page is not complete.
scan() method of
interface reads NDEF records from compatible NFC devices, e.g., NDEF NFC tags.
var readerPromise = NDEFReader.scan(options);
AbortSignalthat allows to cancel this
Promise that resolves with
undefined immediately after
scheduling read operations for the NFC adapter.
This method doesn't throw true exceptions; instead, it rejects the returned promise,
passing into it a
name is one of the
- The scan operation was aborted with
AbortSignalpassed in options.
- There's already an ongoing scan.
- The permission for this operation was rejected.
- There is no NFC adapter compatible with Web NFC, or a connection can not be established.
|Web NFC, scan()||Draft||Initial definition.|
BCD tables only load in the browser