nfcTagReceived | |||||||
Type | message | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Sent to the current card when the application receives data from an NFC tag read by the device. | ||||||
Introduced | 9.0 | ||||||
OS | android | ||||||
Platforms | mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Related | Command: mobileEnableNFCDispatch, mobileDisableNFCDispatch Function: mobileIsNFCAvailable, mobileIsNFCEnabled Glossary: current card, application | ||||||
Description | When an NFC tag is read by the device, information about that tag will be dispatched to apps which are configured to handle that tag data. The nfcTagReceived handler will be called whenever NFC tag data is dispatched to your app, and can then be used to obtain the tag information. The mobileEnableNFCDispatch command can be used to ensure NFC tag data is sent to your app while it is running in the foreground. If your application no longer needs to intercept NFC tag data then call mobileDisableNFCDispatch to allow tag data to be dispatched to other apps once more. |