このページでは

QNdefNfcUriRecord Class

QNdefNfcUriRecord クラスは、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 は URI をカプセル化します。

メンバー関数のドキュメント

QNdefNfcUriRecord::QNdefNfcUriRecord()

空のNFC URIレコードを作成します。

QNdefNfcUriRecord::QNdefNfcUriRecord(const QNdefRecord &other)

other のコピーとなる新しい NFC URI レコードを作成します。

void QNdefNfcUriRecord::setUri(const QUrl &uri)

このURIレコードのURIをuri に設定します。

uri()も参照してください 。

QUrl QNdefNfcUriRecord::uri() const

このURIレコードのURIを返します。

警告:アプリケーション開発者は 、返された URI に基づいて処理を行う前に、その URI の妥当性を検証することを推奨します。詳細については、Qt NFC 「セキュリティに関する考慮事項」を参照してください。

setUri()も参照してください 。

© 2026 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.