NearField
Definition
Non-visible component to provide NFC capabilities. For now this component supports the reading and writing of text tags only (if supported by the device).
In order to read and write text tags, the component must have its ReadMode
property set to true
or false
respectively.
Note: This component will only work on Screen1 of any App Inventor app.
Properties
- LastMessage
- Returns the content of the most recently received tag.
- ReadMode
- Specifies whether the NFC hardware should operate in read mode (
true
) or write mode (false
). - TextToWrite
- Specifies the content that will be written to the tag when in write mode. This method has no effect if
ReadMode
istrue
. - WriteType
- Returns the write type for the NFC component. For this version of the component, it is always
1
.