Detailed Description
The QBluetoothHandsfreeService class implements Bluetooth Handsfree Audio Gateway profile.
Bluetooth Handsfree profile provides mechanisms for basic phone call control and audio transfer between the Audio Gateway (phone) and the Bluetooth Audio headset. This class implements the Bluetooth Handsfree Audio Gateway as defined in the Handsfree Bluetooth Profile specification.
This class is part of the Qt Extended server and cannot be used by other QtopiaApplications.
Member Function Documentation
QBluetoothHandsfreeService::QBluetoothHandsfreeService ( const QString & service, const QString & displayName, QObject * parent = 0 )
Construct a new Handsfree service with service name given by service. The display string to use is given by displayName and QObject parent.
QBluetoothHandsfreeService::~QBluetoothHandsfreeService ()
Destructor.
void QBluetoothHandsfreeService::connect ( const QBluetoothAddress & addr, int rfcomm_channel )
This method is the concrete implementation of the QBluetoothAudioGateway interface method of the same name. It is called from the QBluetoothHandsfreeAudioGatewayServer class, which acts as a forwarding agent.
The address and channel to connect to are given by addr and rfcomm_channel respectively.
See also QBluetoothHandsfreeAudioGatewayServer.
void QBluetoothHandsfreeService::connectAudio ()
This method is the concrete implementation of the QBluetoothAudioGateway interface method of the same name. It is called from the QBluetoothHandsfreeAudioGatewayServer class, which acts as a forwarding agent.
See also QBluetoothHandsfreeAudioGatewayServer.
void QBluetoothHandsfreeService::disconnect ()
This method is the concrete implementation of the QBluetoothAudioGateway interface method of the same name. It is called from the QBluetoothHandsfreeAudioGatewayServer class, which acts as a forwarding agent.
See also QBluetoothHandsfreeAudioGatewayServer.
void QBluetoothHandsfreeService::releaseAudio ()
This method is the concrete implementation of the QBluetoothAudioGateway interface method of the same name. It is called from the QBluetoothHandsfreeAudioGatewayServer class, which acts as a forwarding agent.
See also QBluetoothHandsfreeAudioGatewayServer.
void QBluetoothHandsfreeService::setMicrophoneVolume ( int volume )
This method is the concrete implementation of the QBluetoothAudioGateway interface method of the same name. It is called from the QBluetoothHandsfreeAudioGatewayServer class, which acts as a forwarding agent.
Instructs the Bluetooth device to set the microphone volume to volume.
See also QBluetoothHandsfreeAudioGatewayServer.
void QBluetoothHandsfreeService::setSpeakerVolume ( int volume )
This method is the concrete implementation of the QBluetoothAudioGateway interface method of the same name. It is called from the QBluetoothHandsfreeAudioGatewayServer class, which acts as a forwarding agent.
Instructs the Bluetooth device to set the speaker volume to volume.
See also QBluetoothHandsfreeAudioGatewayServer.