NdefRecord QML Type
The NdefRecord type represents a record in an NDEF message. More...
Import Statement: | import QtNfc 5.15 |
Instantiates: | QQmlNdefRecord |
Inherited By: |
Properties
- record : string
- type : string
- typeNameFormat : enumeration
Detailed Description
The NdefRecord type is the base type for all NDEF record types in QML. It contains a single property holding the type of record.
This class is not intended to be used directly, but extended from C++.
See also NdefFilter, NearField, QNdefRecord, and QQmlNdefRecord.
Property Documentation
This property holds the TNF of the NDEF record.
Property | Description |
---|---|
NdefRecord.Empty | An empty NDEF record, the record does not contain a payload. |
NdefRecord.NfcRtd | The NDEF record type is defined by an NFC RTD Specification. |
NdefRecord.Mime | The NDEF record type follows the construct described in RFC 2046. |
NdefRecord.Uri | The NDEF record type follows the construct described in RFC 3986. |
NdefRecord.ExternalRtd | The NDEF record type follows the construct for external type names described the NFC RTD Specification. |
See also QNdefRecord::typeNameFormat().