mobileIsNFCEnabled

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
mobileIsNFCEnabled()
Summary

Returns true if the NFC function of the device is enabled, false otherwise.

Introduced9.0
OSandroid
Platformsmobile
Example
get mobileIsNFCEnabled()
if mobileIsNFCEnabled() is "true" then 
  answer "Device NFC has been turned on"
end if
Values
NameTypeDescription
return

The mobileIsNFCEnabled function returns true if the device NFC function has been enabled and false otherwise.

RelatedCommand: mobileEnableNFCDispatch
Function: mobileIsNFCAvailable
Message: nfcTagReceived
Description

Use the mobileIsNFCEnabled function to check whether the user has enabled the NFC function of the device.