NdefRecord QML Type

The NdefRecord type represents a record in an NDEF message. 更多...

import 語句: import QtNfc 5.12
實例化: QQmlNdefRecord
繼承者: NdefMimeRecord , NdefTextRecord ,和 NdefUriRecord

特性

詳細描述

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++.

另請參閱 NdefFilter , NearField , QNdefRecord ,和 QQmlNdefRecord .

特性文檔編製

record : string

This property holds the NDEF record.

type : string

This property holds the type of the NDEF record.

typeNameFormat : enumeration

This property holds the TNF of the NDEF record.

特性 描述
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.

另請參閱 QNdefRecord::typeNameFormat() .