הפניית Struct של bthf_client_interface_t
  
   #include <
   
    bt_hf_client.h
   
   >
  
 
| שדות נתונים | |
| 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 )(char code) | 
| 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) | 
תיאור מפורט
מייצג את ממשק BT-HF הסטנדרטי.
ההגדרה מופיעה בשורה 297 בקובץ bt_hf_client.h .
מסמכי תיעוד של שדה
| void(* cleanup)(void) | 
סגירת הממשק.
ההגדרה מופיעה בשורה 355 בקובץ bt_hf_client.h .
| bt_status_t (* connect)(bt_bdaddr_t *bd_addr) | 
חיבור ל-Audio Gateway
ההגדרה מופיעה בשורה 307 בקובץ bt_hf_client.h .
| bt_status_t (* connect_audio)(bt_bdaddr_t *bd_addr) | 
ליצור חיבור אודיו
ההגדרה מופיעה בשורה 313 בקובץ bt_hf_client.h .
| bt_status_t (* dial)(const char *number) | 
התחלת שיחה עם מספר מספר אם המספר הוא NULL, מתבצעת קריאה למספר שאליו התקשרתם לאחרונה (קריאה חוזרת)
ההגדרה מופיעה בשורה 329 בקובץ bt_hf_client.h .
| bt_status_t (* dial_memory)(int location) | 
להתקשר למספר שצוין לפי מיקום (חיוג מהיר)
ההגדרה מופיעה בשורה 332 בקובץ bt_hf_client.h .
| bt_status_t (* disconnect)(bt_bdaddr_t *bd_addr) | 
ניתוק משער האודיו
ההגדרה מופיעה בשורה 310 בקובץ bt_hf_client.h .
| bt_status_t (* disconnect_audio)(bt_bdaddr_t *bd_addr) | 
סגירת חיבור האודיו
ההגדרה מופיעה בשורה 316 בקובץ bt_hf_client.h .
| bt_status_t (* handle_call_action)( bthf_client_call_action_t action, int idx) | 
ביצוע פעולה ספציפית שקשורת לשיחה, הערך של idx מוגבל רק לפעולה שקשורה לשליטה משופרת בשיחות
ההגדרה מופיעה בשורה 337 בקובץ bt_hf_client.h .
| bt_status_t (* init)( bthf_client_callbacks_t *callbacks) | 
רישום של קריאות החזרה (callbacks) של BtHf
ההגדרה מופיעה בשורה 304 בקובץ bt_hf_client.h .
| bt_status_t (* query_current_calls)(void) | 
שאילתת רשימה של השיחות הנוכחיות
ההגדרה מופיעה בשורה 340 בקובץ bt_hf_client.h .
| bt_status_t (* query_current_operator_name)(void) | 
שם השאילתה של המפעיל הנוכחי שנבחר
ההגדרה מופיעה בשורה 343 בקובץ bt_hf_client.h .
| bt_status_t (* request_last_voice_tag_number)(void) | 
בקשה לקבלת מספר טלפון מ-AG שתואם לתג הקול האחרון שהוקלט
ההגדרה מופיעה בשורה 352 בקובץ bt_hf_client.h .
| bt_status_t (* retrieve_subscriber_info)(void) | 
אחזור פרטי המנויים
ההגדרה מופיעה בשורה 346 בקובץ bt_hf_client.h .
| bt_status_t (* send_at_cmd)(int cmd, int val1, int val2, const char *arg) | 
שולחים את פקודת ה-AT.
ההגדרה מופיעה בשורה 358 בקובץ bt_hf_client.h .
| bt_status_t (* send_dtmf)(char code) | 
שליחת קוד DTMF
ההגדרה מופיעה בשורה 349 בקובץ bt_hf_client.h .
| size_t size | 
מוגדר ל-sizeof(BtHfClientInterface)
ההגדרה מופיעה בשורה 300 בקובץ bt_hf_client.h .
| bt_status_t (* start_voice_recognition)(void) | 
התחלת זיהוי הדיבור
ההגדרה מופיעה בשורה 319 בקובץ bt_hf_client.h .
| bt_status_t (* stop_voice_recognition)(void) | 
הפסקת זיהוי הדיבור
ההגדרה מופיעה בשורה 322 בקובץ bt_hf_client.h .
| bt_status_t (* volume_control)( bthf_client_volume_type_t type, int volume) | 
בקרת עוצמת קול
ההגדרה מופיעה בשורה 325 בקובץ bt_hf_client.h .
התיעוד של המבנה הזה נוצר מהקובץ הבא:
- hardware/libhardware/include/hardware/ bt_hf_client.h
