Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

QBluetoothHandsfreeService Class Reference
[QtBluetoothModule]

The QBluetoothHandsfreeService class implements Bluetooth Handsfree Audio Gateway profile. More...

    #include <QBluetoothHandsfreeService>

Inherits QBluetoothAbstractService.

Public Functions

Additional Inherited Members


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.

Publicité

Best Of

Actualités les plus lues

Semaine
Mois
Année

Le Qt Labs au hasard

Logo

La théorie des chaînes

Les Qt Labs sont les laboratoires des développeurs de Qt, où ils peuvent partager des impressions sur le framework, son utilisation, ce que pourrait être son futur. Lire l'article.

Communauté

Ressources

Liens utiles

Contact

  • Vous souhaitez rejoindre la rédaction ou proposer un tutoriel, une traduction, une question... ? Postez dans le forum Contribuez ou contactez-nous par MP ou par email (voir en bas de page).

Qt dans le magazine

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt qtextended4.4
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web