مرجع بنية 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) |
الاتصال ببوابة الصوت
التعريف في السطر 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) |
إجراء مكالمة باستخدام الرقم a إذا كان الرقم 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) |
تسجيل عمليات استدعاء 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) |
طلب رقم هاتف من فريق الدعم في Google يتوافق مع آخر علامة صوتية تم تسجيلها
التعريف في السطر 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 |
تم ضبطه على 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