NFC MIME Record Element
The NFC MIME record element is used to insert an NFC MIME record into an NFC tag.
The NFC MIME 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 MIME record element:
The NFC driver instance the record adds to.
The MIME type of the record (eg. text/json). All range of MIME types are supported.
An optional data the record is initially set to.
The following triggers are available to execute events from within the NFC MIME record element:
Execute an event when the source element connected to the NFC MIME record triggers.
Record Data Set
Execute an event when the record data has been set and sent to the NFC tag.
The following abilities are available for the NFC MIME record element when its source element triggers:
Trigger the element(s) that follow the NFC MIME record element.
Set Record Data
Set the data of the NFC MIME record and send it to the NFC tag.