NFC Well Known Record Element
The NFC well known record element is used to allow the addition of an NFC NDEF records.
The NFC well known record element is located in the Element Toolbox within Studio’s Embedded tab.
Using NFC with iOS Devices
In order to use NFC communication within the iOS version of the Atmosphere mobile app, a series of steps must be performed. Note this process is for use with the mobile app on iOS only; Android devices allow NFC communication as long as NFC is enabled on the mobile device. Additionally, this is only applicable for hardware that supports NFC communication.
Prior to using NFC capabilities, ensure you have the following setup configuration:
- The project built includes the necessary logic for NFC communication.
- The end device is registered to Atmosphere.
With setup complete, follow the steps below to use NFC on iOS:
- Open the Atmosphere mobile app.
- Once in the app, physically shake your mobile device. You’ll then receive a prompt that your device is ready to scan.
- Touch your end device to your mobile device to initiate NFC pairing between them.
Once scanned, the device should execute whatever NFC logic was built for it.
The following properties can be changed for the NFC well known record element:
The name of the element.
The NFC driver instance the record adds to.
The data type for the record:
text for plain text, or
URL for a compacted URL address.
The optional data the record is initially set to. URLs will automatically be optimized if using the
URL data type.
The following triggers are available to execute events from within the NFC well known record element:
Execute an event when the source element connected to the NFC well known record triggers.
Execute an event when a record has been successfully created and added to the NFC records list.
The following abilities are available for the NFC well known record element when its source element triggers:
Trigger the element(s) that follow the NFC well known record element.
Create an NDEF record.