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.