The QNdefNfcIconRecord class provides an NFC MIME record to hold an icon. More...
Header: | #include <QNdefNfcIconRecord> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Nfc) target_link_libraries(mytarget PRIVATE Qt6::Nfc) |
qmake: | QT += nfc |
Since: | Qt 5.2 |
Inherits: | QNdefRecord |
QNdefNfcIconRecord(const QNdefRecord &other) | |
QNdefNfcIconRecord() | |
QByteArray | data() const |
void | setData(const QByteArray &data) |
This class wraps the image data into an NDEF message. It provides an NDEF record of type QNdefRecord::Mime. The payload() contains the raw image data.
Constructs an NDEF icon record that is a copy of other.
Constructs an empty NDEF record of type QNdefRecord::Mime.
Returns the icon data as QByteArray.
See also setData().
Sets the contents of the icon record to data.
See also data().
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: