QNdefNfcUriRecord Class

The QNdefNfcUriRecord class provides an NFC RTD-URI. 更多...

头: #include <QNdefNfcUriRecord>
CMake: find_package(Qt6 REQUIRED COMPONENTS Nfc)
target_link_libraries(mytarget PRIVATE Qt6::Nfc)
qmake: QT += nfc
继承: QNdefRecord

公共函数

QNdefNfcUriRecord ()
QNdefNfcUriRecord (const QNdefRecord & other )
void setUri (const QUrl & uri )
QUrl uri () const

详细描述

RTD-URI encapsulates a URI.

成员函数文档编制

QNdefNfcUriRecord:: QNdefNfcUriRecord ()

Constructs an empty NFC uri record.

QNdefNfcUriRecord:: QNdefNfcUriRecord (const QNdefRecord & other )

Constructs a new NFC uri record that is a copy of other .

void QNdefNfcUriRecord:: setUri (const QUrl & uri )

Sets the URI of this URI record to uri .

另请参阅 uri ().

QUrl QNdefNfcUriRecord:: uri () const

Returns the URI of this URI record.

另请参阅 setUri ().