Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The BluetoothObexPushService class runs a Bluetooth OBEX Object Push server and provides notifications of received requests and their status. More...
#include <BluetoothObexPushService>
Inherits FileTransferTask.
The BluetoothObexPushService class runs a Bluetooth OBEX Object Push server and provides notifications of received requests and their status.
A unique ID is generated for each received request and is used to provide request updates through the incomingTransferStarted(), outgoingTransferStarted(), transferProgress() and transferFinished() signals.
Note: This class is part of the Qt Extended server and cannot be used by other Qt Extended applications.
Creates a service with parent object parent.
This signal is emitted when the service responds to an OBEX Put request. The id uniquely identifies the transfer, as provided by FileTransferTask::nextTransferId(). The name, type and description are set to the Name, Type and Description metadata values received in the request.
This signal is emitted when the service responds to an OBEX Get request. (The request will be for the owner's business card, as OBEX Push servers cannot respond to any other types of Get requests.) The id uniquely identifies the transfer, as provided by FileTransferTask::nextTransferId().
The name, type and description arguments are provided as a convenience for consistency with incomingTransferStarted(). name is set to an empty string, type is set to "text/x-vcard" and description is set to a user-friendly description of the business card request.
This signal is emitted when the transfer identified by id is finished. error is true if the transfer failed, and aborted is true if the transfer was aborted by a call to abortRequest().
This signal is emitted to indicate the progress of the transfer identified by id. done is the amount of data that has already been sent, and total is the total amount of data to be sent. If the total amount cannot be determined, total is set to 0.
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |