The NearField element provides access to NDEF messages stored on NFC Forum tags. More...
This element was introduced in Mobility 1.2.
The NearField element is part of the QtMobility.connectivity 1.2 module.
The NearField element can be used to read NDEF messages from NFC Forum tags. Set the filter and orderMatch properties to match the required NDEF messages. Once an NDEF message is successfully read from a tag the messageRecords property is updated.
NearField { filter: [ NdefFilter { type: "urn:nfc:wkt:U"; minimum: 1; maximum: 1 } ] orderMatch: false onMessageRecordsChanged: displayMessage() }
See also NdefFilter, NdefRecord, QNearFieldManager, QNdefMessage, and QNdefRecord.
filter : list<NdefFilter> |
This property holds the NDEF filter constraints. The messageRecords property will only be set to NDEF messages which match the filter.
This property group was introduced in Mobility 1.2.
messageRecords : list<NdefRecord> |
This property contains the list of NDEF records in the last NDEF message read.
This property group was introduced in Mobility 1.2.
orderMatch : bool |
This property indicates whether the order of records should be taken into account when matching messages.
This property group was introduced in Mobility 1.2.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.