QNdefNfcIconRecord Class
La classe QNdefNfcIconRecord fournit un enregistrement MIME NFC pour contenir une icône. Plus d'informations...
| En-tête : | #include <QNdefNfcIconRecord> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS Nfc)target_link_libraries(mytarget PRIVATE Qt6::Nfc) |
| qmake : | QT += nfc |
| Depuis : | Qt 5.2 |
| Hérite : | QNdefRecord |
Fonctions publiques
| QNdefNfcIconRecord() | |
| QNdefNfcIconRecord(const QNdefRecord &other) | |
| QByteArray | data() const |
| void | setData(const QByteArray &data) |
Description détaillée
Cette classe intègre les données de l'image dans un message NDEF. Elle fournit un enregistrement NDEF de type QNdefRecord::Mime. Le message payload() contient les données brutes de l'image.
Documentation des fonctions membres
QNdefNfcIconRecord::QNdefNfcIconRecord()
Construit un enregistrement NDEF vide de type QNdefRecord::Mime.
QNdefNfcIconRecord::QNdefNfcIconRecord(const QNdefRecord &other)
Construit un enregistrement d'icône NDEF qui est une copie de other.
QByteArray QNdefNfcIconRecord::data() const
Renvoie les données de l'icône sous la forme QByteArray.
Voir aussi setData().
void QNdefNfcIconRecord::setData(const QByteArray &data)
Définit le contenu de l'enregistrement de l'icône à data.
Voir aussi data().
© 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.