QNdefNfcIconRecord#

The QNdefNfcIconRecord class provides an NFC MIME record to hold an icon. More

Inheritance diagram of PySide6.QtNfc.QNdefNfcIconRecord

Synopsis#

Functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

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(other)

Parameters:

otherPySide6.QtNfc.QNdefRecord

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:

PySide6.QtCore.QByteArray

Returns the icon data as QByteArray.

See also

setData()

PySide6.QtNfc.QNdefNfcIconRecord.setData(data)#
Parameters:

dataPySide6.QtCore.QByteArray

Sets the contents of the icon record to data.

See also

data()