QNdefNfcIconRecord Class
La clase QNdefNfcIconRecord proporciona un registro MIME NFC para contener un icono. Más...
| Cabecera: | #include <QNdefNfcIconRecord> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Nfc)target_link_libraries(mytarget PRIVATE Qt6::Nfc) |
| qmake: | QT += nfc |
| Desde: | Qt 5.2 |
| Hereda: | QNdefRecord |
Funciones Públicas
| QNdefNfcIconRecord() | |
| QNdefNfcIconRecord(const QNdefRecord &other) | |
| QByteArray | data() const |
| void | setData(const QByteArray &data) |
Descripción detallada
Esta clase envuelve los datos de la imagen en un mensaje NDEF. Proporciona un registro NDEF de tipo QNdefRecord::Mime. payload () contiene los datos de imagen sin procesar.
Documentación de las funciones miembro
QNdefNfcIconRecord::QNdefNfcIconRecord()
Construye un registro NDEF vacío de tipo QNdefRecord::Mime.
QNdefNfcIconRecord::QNdefNfcIconRecord(const QNdefRecord &other)
Construye un registro de icono NDEF que es una copia de other.
QByteArray QNdefNfcIconRecord::data() const
Devuelve los datos del icono como QByteArray.
Véase también setData().
void QNdefNfcIconRecord::setData(const QByteArray &data)
Establece el contenido del registro de iconos en data.
Véase también 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.