[OpenDocString] kdeconnect-kde (cpp)
bluetoothdownloadjob.cpp
BluetoothDownloadJob::BluetoothDownloadJob(ConnectionMultiplexer *connection, const QVariantMap &transferInfo, QObject *parent)
    : QObject(parent)
{
    QBluetoothUuid id{transferInfo.value(QStringLiteral("uuid")).toString()};
    mSocket = QSharedPointer{connection->getChannel(id).release()};
}
This constructor builds a bluetooth download job object from an existing connection and transfer info.
QSharedPointer BluetoothDownloadJob::payload() const
{
    return mSocket.staticCast();
}
Returns a QSharedPointer object that represents the payload data of the job.
void BluetoothDownloadJob::start()
{
}
This implements the start method of the download job.