ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / NFC functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The following constants are used by the NFC functions.
ConstantDetailsFunction
nfcEnabledThe NFC sensor is enabled.NFCStatus
nfcDisabledThe NFC sensor is disabled.NFCStatus
nfcErrDisabledNFC is not enabled on the device.NFCWriteTag
nfcErrCancellationThe action was canceled by the user.NFCWriteTag
nfcErrDetectionThe NFC tag has exited from the detection control during the write process.NFCWriteTag
nfcErrEmulatorFunction called from the emulator.NFCWriteTag
nfcErrFormatThe format of the data to write is invalid.NFCWriteTag
nfcErrUnknownUnknown error.NFCWriteTag
nfcErrUnavailableThe NFC sensor does not exist or is not available.NFCWriteTag
nfcErrReadOnlyThe NFC tag is protected in write mode.NFCWriteTag
nfcErrNDEFThe NFC tag cannot be formatted to the NDEF format (NFC Data Exchange Format).NFCWriteTag
nfcErrProtectionThe NFC tag cannot be protected in write mode (mode not supported by the tag).NFCWriteTag
nfcErrMaxSizeThe size of the data to write exceeds the maximum size of data that can be stored on the NFC tag.NFCWriteTag
nfcUnknownType of tag: unknown type. Default value if no read operation was performed with the tag.nfcTag variable
nfcUnavailableThe device is not equipped with a NFC sensor or this one is not available.NFCStatus
nfcMediaType of data: Media data. Can correspond to any resource identified by a MIME type (image, video, document, etc.).nfcData variable
nfcMifareClassicType of tag: NFC Mifare ClassicnfcTag variable
nfcOKThe operation was completed.NFCWriteTag
nfcTextType of data: Text data.nfcData variable
nfcType1Type of tag: NFC Forum Type 1nfcTag variable
nfcType2Type of tag: NFC Forum Type 2nfcTag variable
nfcType3Type of tag: NFC Forum Type 3nfcTag variable
nfcType4Type of tag: NFC Forum Type 4nfcTag variable
nfcURIType of data: URI data (Uniform Ressource Identifier). Can correspond to:
  • the url of a web page (http://www.windev.com),
  • an FTP address (ftp://ftp.windev.com/),
  • a phone number (tel:0123456789),
  • an email address (mailto:adresse@mail.com), etc.
nfcData variable
nfcEmptyType of data: Empty typenfcData variable
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help