Sur cette page

QNdefNfcUriRecord Class

La classe QNdefNfcUriRecord fournit un URI RTD NFC. En savoir plus...

En-tête : #include <QNdefNfcUriRecord>
CMake : find_package(Qt6 REQUIRED COMPONENTS Nfc)
target_link_libraries(mytarget PRIVATE Qt6::Nfc)
qmake : QT += nfc
Hérite de : QNdefRecord

Fonctions publiques

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

Description détaillée

RTD-URI encapsule un URI.

Documentation des fonctions membres

QNdefNfcUriRecord::QNdefNfcUriRecord()

Crée un enregistrement URI NFC vide.

QNdefNfcUriRecord::QNdefNfcUriRecord(const QNdefRecord &other)

Crée un nouvel enregistrement URI NFC qui est une copie de other.

void QNdefNfcUriRecord::setUri(const QUrl &uri)

Définit l'URI de cet enregistrement URI sur uri.

Voir également uri().

QUrl QNdefNfcUriRecord::uri() const

Renvoie l'URI de cet enregistrement d'URI.

Avertissement : il est conseillé aux développeursd'applications de valider l'URI renvoyée avant de l'utiliser. Consultez la section « Considérations de sécurité » de la documentation Qt NFC pour plus d'informations.

Voir également 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.