|
|
|
|
The following constants are used by the NFC functions. | | | Constant | Details | Function |
---|
nfcEnabled | The NFC sensor is enabled. | NFCStatus | nfcDisabled | The NFC sensor is disabled. | NFCStatus | nfcErrDisabled | NFC is not enabled on the device. | NFCWriteTag | nfcErrCancellation | The action was canceled by the user. | NFCWriteTag | nfcErrDetection | The NFC tag has exited from the detection control during the write process. | NFCWriteTag | nfcErrEmulator | Function called from the emulator. | NFCWriteTag | nfcErrFormat | The format of the data to write is invalid. | NFCWriteTag | nfcErrUnknown | Unknown error. | NFCWriteTag | nfcErrUnavailable | The NFC sensor does not exist or is not available. | NFCWriteTag | nfcErrReadOnly | The NFC tag is protected in write mode. | NFCWriteTag | nfcErrNDEF | The NFC tag cannot be formatted to the NDEF format (NFC Data Exchange Format). | NFCWriteTag | nfcErrProtection | The NFC tag cannot be protected in write mode (mode not supported by the tag). | NFCWriteTag | nfcErrMaxSize | The size of the data to write exceeds the maximum size of data that can be stored on the NFC tag. | NFCWriteTag | nfcUnknown | Type of tag: unknown type. Default value if no read operation was performed with the tag. | nfcTag variable | nfcUnavailable | The device is not equipped with a NFC sensor or this one is not available. | NFCStatus | nfcMedia | Type of data: Media data. Can correspond to any resource identified by a MIME type (image, video, document, etc.). | nfcData variable | nfcMifareClassic | Type of tag: NFC Mifare Classic | nfcTag variable | nfcOK | The operation was completed. | NFCWriteTag | nfcText | Type of data: Text data. | nfcData variable | nfcType1 | Type of tag: NFC Forum Type 1 | nfcTag variable | nfcType2 | Type of tag: NFC Forum Type 2 | nfcTag variable | nfcType3 | Type of tag: NFC Forum Type 3 | nfcTag variable | nfcType4 | Type of tag: NFC Forum Type 4 | nfcTag variable | nfcURI | Type 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 | nfcEmpty | Type of data: Empty type | nfcData variable |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|