Near Field
-
Description
Near Field
The Near Field ( Near Field Communication) is a non visible component that provides a set of wireless technologies short scope, which typically require a distance of 4 cm or less to initiate a connection. NFC allows you to share small payloads of data between a tag NFC and with an Android device, or between two Android devices. you
For now, this component only supports reading and writing text tags ( Tag 1), if the device supports it. To read and write text labels, the component must have its property 'Read Mode' to 'True'. the
Note: This component only works on the Screen 1. -
Events
- Tag Read
- Event that runs when it detects a new tag. Currently, this is only a label of unformatted text.
- Tag Written
- Event that is executed when a tag has been written.
-
Properties
- Last Message (text)
- Allows you to obtain the last message read by the NFC sensor.
- Read Mode (boolean)
- Allows you to set or get if the sensor can read tags. If this property is 'True' will be able to read tags.
- Text To Write (text)
- This property allows you to set a text for the NFC tag.
- Write Type
- This property will always be 1, this is because that indicates the 'Tag' of the type NFC. In this case is the type 1 since it only is able to read and write tags.