mobileIsNFCAvailable

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
mobileIsNFCAvailable()
Summary

Returns true if the device can communicate with other NFC devices or tags, false otherwise.

Introduced9.0
OSandroid
Platformsmobile
Example
get mobileIsNFCAvailable()
if mobileIsNFCAvailable() is "true" then 
  answer "NFC tags can be read"
end if
Values
NameTypeDescription
return

The mobileIsNFCAvailable function returns true if the device can read NFC tags and false otherwise.

RelatedCommand: mobileEnableNFCDispatch
Function: mobileIsNFCEnabled
Message: nfcTagReceived
Description

Use the mobileIsNFCAvailable function to check whether the device can read NFC tags.