Warning Older Docs! - You are viewing documentation for a previous released version of RhoMobile Suite.

NFCTagTechnology_NfcB API

Subclass of NFCTagTechnology.

As of Rhodes version 3.3.3, the Barcode, NFC, and Signature Capture APIs, as well as Rhom data encryption are removed from Rhodes. These features are only supported in Zebra RhoMobile Suite. If you wish to use these features, you will need to upgrade to RhoMobile Suite. Your application’s build.yml will also need to be modified to indicate the application type is ‘Rhoelements’. Additionally, a RhoElements license is required.

Enabling NFC

To use the NFC methods, you need to enable NFC on the Android device and ensure that the version is 2.3.3 or later. Do this by adding that capability to the build.yml file:

android: 
  version 2.3.3
  extensions:
  - nfc

get_application_data

Returns byte[] - application data from an NfcB tag.

Rho::NFCTagTechnology_NfcB.get_application_data

get_protocol_info

Returns byte[] - protocol information from an NfcB tag.

Rho::NFCTagTechnology_NfcB.get_protocol_info

transceive

Sends data in a byte array to a tag and returns the result from the tag in a byte array.

Rho::NFCTagTechnology_NfcB.transceive(data)
data byte[] sent to the tag.
Back to Top