Home · All Classes · Grouped Classes · Annotated · Functions

QBluetoothHeadsetService Class Reference

The QBluetoothHeadsetService class implements Bluetooth Headset Audio Gateway profile. More...

    #include <QBluetoothHeadsetService>

Inherits QBluetoothAbstractService.

Public Functions

Additional Inherited Members


Detailed Description

The QBluetoothHeadsetService class implements Bluetooth Headset Audio Gateway profile.

Bluetooth Headset 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 Headset Audio Gateway as defined in the Headset Bluetooth Profile specification.

This class is part of the Qtopia server and cannot be used by other QtopiaApplications.


Member Function Documentation

QBluetoothHeadsetService::QBluetoothHeadsetService ( const QString & service, const QString & displayName, QObject * parent = 0 )

Construct a new Headset service with service name given by service. The display string to use is given by displayName and QObject parent.

QBluetoothHeadsetService::~QBluetoothHeadsetService ()

Destructor.

void QBluetoothHeadsetService::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 QBluetoothHeadsetAudioGatewayServer.

void QBluetoothHeadsetService::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 QBluetoothHeadsetService::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 QBluetoothHeadsetService::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 QBluetoothHeadsetService::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 QBluetoothHeadsetService::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.


Copyright © 2008 Nokia Trademarks
Qtopia 4.3.3