Livecode Wiki
Advertisement

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

Syntax

mobileIsNFCAvailable()

Examples

if mobileIsNFCAvailable() is "true" then 
 answer "NFC tags can be read"
end if

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

See also: mobileIsNFCAvailable, mobileIsNFCEnabled, mobileEnableNFCDispatch, mobileDisableNFCDispatch, nfcTagReceived

Advertisement