QNdefNfcIconRecord Class

QNdefNfcIconRecordクラスは、アイコンを保持するためのNFC MIMEレコードを提供します。詳細...

ヘッダー #include <QNdefNfcIconRecord>
CMake: find_package(Qt6 REQUIRED COMPONENTS Nfc)
target_link_libraries(mytarget PRIVATE Qt6::Nfc)
qmake: QT += nfc
以来:Qt 5.2
継承: QNdefRecord

パブリック関数

QNdefNfcIconRecord()
QNdefNfcIconRecord(const QNdefRecord &other)
QByteArray data() const
void setData(const QByteArray &data)

詳しい説明

このクラスは画像データを NDEF メッセージにラップします。QNdefRecord::Mime 型の NDEF レコードを提供します。payload() には生の画像データが含まれます。

メンバ関数ドキュメント

QNdefNfcIconRecord::QNdefNfcIconRecord()

QNdefRecord::Mime 型の空の NDEF レコードを構築する。

QNdefNfcIconRecord::QNdefNfcIconRecord(const QNdefRecord &other)

other のコピーであるNDEFアイコンレコードを構築する。

QByteArray QNdefNfcIconRecord::data() const

アイコンデータをQByteArray として返す。

setData()も参照

void QNdefNfcIconRecord::setData(const QByteArray &data)

アイコンレコードの内容をdata に設定する。

data()も参照

© 2025 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.