QBluetoothTransferRequest Class

The QBluetoothTransferRequest class stores information about a data transfer request. More...

Header: #include <QBluetoothTransferRequest>
qmake: QT += bluetooth
Since: Qt 5.2

This class was introduced in Qt 5.2.

Public Types

enum Attribute { DescriptionAttribute, TimeAttribute, TypeAttribute, LengthAttribute, NameAttribute }

Detailed Description

QBluetoothTransferRequest is part of the Bluetooth Transfer API and is the class holding the information necessary to initiate a transfer over Bluetooth.

See also QBluetoothTransferReply and QBluetoothTransferManager.

Member Type Documentation

enum QBluetoothTransferRequest::Attribute

Attribute codes for QBluetoothTransferRequest and QBluetoothTransferReply.

ConstantValueDescription
QBluetoothTransferRequest::DescriptionAttribute0A textual description of the object being transferred. May be displayed in the UI of the remote device.
QBluetoothTransferRequest::TimeAttribute1Time attribute of the object being transferred.
QBluetoothTransferRequest::TypeAttribute2MIME type of the object being transferred.
QBluetoothTransferRequest::LengthAttribute3Length in bytes of the object being transferred.
QBluetoothTransferRequest::NameAttribute4Name of the object being transferred. May be displayed in the UI of the remote device.