Develop Secure Code
NFCService Constants
NFCService Data Types
getNFCService()
isAvailable()
read()
write()
erase()
createTextRecord()
createUriRecord()
getNFCService()Use this factory function to get an instance of NFCService.
1import { getNFCService } from 'lightning/mobileCapabilities';
2getNFCService(): NFCServiceNone.
An instance of NFCService.
There are no parameters or options when creating an instance. Use the instance to perform NFC operations.