QNdefNfcUriRecord Class
A classe QNdefNfcUriRecord fornece um URI RTD de NFC. Mais...
| Cabeçalho: | #include <QNdefNfcUriRecord> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Nfc) target_link_libraries(mytarget PRIVATE Qt6::Nfc) |
| qmake: | QT += nfc |
| Herdado de: | QNdefRecord |
Funções públicas
| QNdefNfcUriRecord() | |
| QNdefNfcUriRecord(const QNdefRecord &other) | |
| void | setUri(const QUrl &uri) |
| QUrl | uri() const |
Documentação das funções de membro
QNdefNfcUriRecord::QNdefNfcUriRecord()
Cria um registro URI NFC vazio.
QNdefNfcUriRecord::QNdefNfcUriRecord(const QNdefRecord &other)
Cria um novo registro URI NFC que é uma cópia de other.
void QNdefNfcUriRecord::setUri(const QUrl &uri)
Define o URI deste registro de URI como uri.
Veja também uri().
QUrl QNdefNfcUriRecord::uri() const
Retorna o URI deste registro de URI.
Aviso: Recomenda-se aos desenvolvedoresde aplicativos que validem o URI retornado antes de agir com base nele. Consulte “Considerações de segurança do Qt NFC ” para obter orientações.
Consulte também 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.