QNdefNfcIconRecord#
The QNdefNfcIconRecord
class provides an NFC MIME record to hold an icon. More…
Synopsis#
Functions#
Detailed Description#
This class wraps the image data into an NDEF message. It provides an NDEF record of type Mime
. The payload
() contains the raw image data.
- class PySide6.QtNfc.QNdefNfcIconRecord#
PySide6.QtNfc.QNdefNfcIconRecord(QNdefNfcIconRecord)
PySide6.QtNfc.QNdefNfcIconRecord(other)
- Parameters
other –
PySide6.QtNfc.QNdefRecord
QNdefNfcIconRecord –
PySide6.QtNfc.QNdefNfcIconRecord
Constructs an empty NDEF record of type Mime
.
Constructs an NDEF icon record that is a copy of other
.
- PySide6.QtNfc.QNdefNfcIconRecord.data()#
- Return type
Returns the icon data as QByteArray
.
See also
- PySide6.QtNfc.QNdefNfcIconRecord.setData(data)#
- Parameters
data –
PySide6.QtCore.QByteArray
Sets the contents of the icon record to data
.
See also