NdefFilter QML Type
Represents a filtering constraint for NDEF message records. More...
Import Statement: | import QtNfc 5.12 |
Since: | Qt 5.2 |
Properties
- maximum : int
- minimum : int
- type : string
- typeNameFormat : QQmlNdefRecord::TypeNameFormat
Detailed Description
The NdefFilter type is used with the NearField type to read NDEF messages from NFC Forum tags that match a given structure.
NearField { filter: [ NdefFilter { type: "urn:nfc:wkt:U" minimum: 1 maximum: 1 } ] }
See also NearField and QNdefFilter.
Property Documentation
This property holds the maximum number of records of the given type that must be in the NDEF message for it match.
The default maximum is UINT_MAX.
See also minimum.
This property holds the minimum number of records of the given type that must be in the NDEF message for it match.
The default minimum is 1.
See also maximum.
This property holds the NDEF record type that the filter matches. This property must be set to the fully qualified record type, i.e. including the NIS and NSS prefixes. For example set to urn:nfc:wkt:U
to match NFC RTD-URI records.
This property holds the NDEF record name format type QQmlNdefRecord::TypeNameFormat.
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.