getNFCService()

Use this factory function to get an instance of NFCService.

Syntax 

1import { getNFCService } from 'lightning/mobileCapabilities';
2getNFCService(): NFCService

Parameters 

None.

Returns 

An instance of NFCService.

Usage 

There are no parameters or options when creating an instance. Use the instance to perform NFC operations.