QNdefNfcUriRecord Class

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

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

公共函数

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

详细描述

RTD-URI encapsulates a URI.

成员函数文档编制

QNdefNfcUriRecord:: QNdefNfcUriRecord (const QNdefRecord & other )

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

QNdefNfcUriRecord:: QNdefNfcUriRecord ()

Constructs an empty NFC uri record.

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 ().