Documentation de référence sur la struct bthf_client_interface_t
  
   #include <
   
    bt_hf_client.h
   
   >
  
 
    Champs de données | 
  |
| size_t | size | 
| bt_status_t (* | init )( bthf_client_callbacks_t *callbacks) | 
| bt_status_t (* | connect )(bt_bdaddr_t *bd_addr) | 
| bt_status_t (* | disconnect )(bt_bdaddr_t *bd_addr) | 
| bt_status_t (* | connect_audio )(bt_bdaddr_t *bd_addr) | 
| bt_status_t (* | disconnect_audio )(bt_bdaddr_t *bd_addr) | 
| bt_status_t (* | start_voice_recognition )(void) | 
| bt_status_t (* | stop_voice_recognition )(void) | 
| bt_status_t (* | volume_control )( bthf_client_volume_type_t type, int volume) | 
| bt_status_t (* | dial )(const char *number) | 
| bt_status_t (* | dial_memory )(int location) | 
| bt_status_t (* | handle_call_action )( bthf_client_call_action_t action, int idx) | 
| bt_status_t (* | query_current_calls )(void) | 
| bt_status_t (* | query_current_operator_name )(void) | 
| bt_status_t (* | retrieve_subscriber_info )(void) | 
| bt_status_t (* | send_dtmf (code de caractère) | 
| bt_status_t (* | request_last_voice_tag_number )(void) | 
| void(* | cleanup (void) | 
| bt_status_t (* | send_at_cmd )(int cmd, int val1, int val2, const char *arg) | 
Description détaillée
Représente l'interface BT-HF standard.
Définition à la ligne 297 du fichier bt_hf_client.h .
Documentation des champs
| void(* cleanup)(void) | 
Ferme l'interface.
Définition à la ligne 355 du fichier bt_hf_client.h .
| bt_status_t (* connect)(bt_bdaddr_t *bd_addr) | 
se connecter à la passerelle audio
Définition à la ligne 307 du fichier bt_hf_client.h .
| bt_status_t (* connect_audio)(bt_bdaddr_t *bd_addr) | 
créer une connexion audio ;
Définition à la ligne 313 du fichier bt_hf_client.h .
| bt_status_t (* dial)(const char *number) | 
passer un appel avec un numéro si le numéro est NULL, le dernier numéro appelé est appelé (appel répété)
Définition à la ligne 329 du fichier bt_hf_client.h .
| bt_status_t (* dial_memory)(int location) | 
passer un appel avec un numéro spécifié par lieu (numéro de composition rapide) ;
Définition à la ligne 332 du fichier bt_hf_client.h .
| bt_status_t (* disconnect)(bt_bdaddr_t *bd_addr) | 
déconnecter de la passerelle audio
Définition à la ligne 310 du fichier bt_hf_client.h .
| bt_status_t (* disconnect_audio)(bt_bdaddr_t *bd_addr) | 
fermer la connexion audio ;
Définition à la ligne 316 du fichier bt_hf_client.h .
| bt_status_t (* handle_call_action)( bthf_client_call_action_t action, int idx) | 
L'indice d'action liée à l'appel spécifié est limité aux actions liées à la commande améliorée des appels.
Définition à la ligne 337 du fichier bt_hf_client.h .
| bt_status_t (* init)( bthf_client_callbacks_t *callbacks) | 
Enregistrer les rappels BtHf
Définition à la ligne 304 du fichier bt_hf_client.h .
| bt_status_t (* query_current_calls)(void) | 
requête de la liste des appels en cours
Définition à la ligne 340 du fichier bt_hf_client.h .
| bt_status_t (* query_current_operator_name)(void) | 
nom de la requête de l'opérateur sélectionné
Définition à la ligne 343 du fichier bt_hf_client.h .
| bt_status_t (* request_last_voice_tag_number)(void) | 
Demander à l'AG un numéro de téléphone correspondant à la dernière balise vocale enregistrée
Définition à la ligne 352 du fichier bt_hf_client.h .
| bt_status_t (* retrieve_subscriber_info)(void) | 
Récupérer les informations sur l'abonné
Définition à la ligne 346 du fichier bt_hf_client.h .
| bt_status_t (* send_at_cmd)(int cmd, int val1, int val2, const char *arg) | 
Envoyer la commande AT.
Définition à la ligne 358 du fichier bt_hf_client.h .
| bt_status_t (* send_dtmf)(code de caractère) | 
Envoyer un code DTMF
Définition à la ligne 349 du fichier bt_hf_client.h .
| taille_t | 
défini sur sizeof(BtHfClientInterface)
Définition à la ligne 300 du fichier bt_hf_client.h .
| bt_status_t (* start_voice_recognition)(void) | 
lancer la reconnaissance vocale
Définition à la ligne 319 du fichier bt_hf_client.h .
| bt_status_t (* stop_voice_recognition)(void) | 
arrêter la reconnaissance vocale
Définition à la ligne 322 du fichier bt_hf_client.h .
| bt_status_t (* volume_control)( bthf_client_volume_type_t type, int volume) | 
contrôle du volume
Définition à la ligne 325 du fichier bt_hf_client.h .
La documentation de ce struct a été générée à partir du fichier suivant :
- hardware/libhardware/include/hardware/ bt_hf_client.h