Auf dieser Seite

QNdefNfcUriRecord Class

Die Klasse „QNdefNfcUriRecord“ stellt eine NFC-RTD-URI bereit. Mehr dazu...

Header: #include <QNdefNfcUriRecord>
CMake: find_package(Qt6 REQUIRED COMPONENTS Nfc)
target_link_libraries(mytarget PRIVATE Qt6::Nfc)
qmake: QT += nfc
Erbt von: QNdefRecord

Öffentliche Funktionen

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

Ausführliche Beschreibung

RTD-URI kapselt eine URI.

Dokumentation der Mitgliedsfunktionen

QNdefNfcUriRecord::QNdefNfcUriRecord()

Erstellt einen leeren NFC-URI-Datensatz.

QNdefNfcUriRecord::QNdefNfcUriRecord(const QNdefRecord &other)

Erstellt einen neuen NFC-URI-Eintrag, der eine Kopie von other ist.

void QNdefNfcUriRecord::setUri(const QUrl &uri)

Setzt die URI dieses URI-Eintrags auf uri.

Siehe auch uri().

QUrl QNdefNfcUriRecord::uri() const

Gibt die URI dieses URI-Datensatzes zurück.

Warnung: Anwendungsentwicklern wird empfohlen, die zurückgegebene URI zu validieren, bevor sie darauf reagieren. Weitere Informationen finden Sie unter „ Qt NFC – Sicherheitshinweise“.

Siehe auch 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.