Referensi Struktur bthf_interface_t
Referensi Struktur bthf_interface_t
#include < bt_hf.h >
Bidang Data | |
ukuran_t | ukuran |
bt_status_t (* | init )( bthf_callbacks_t *panggilan balik, int max_hf_clients) |
bt_status_t (* | sambungkan )(bt_bdaddr_t *bd_addr) |
bt_status_t (* | putuskan sambungan )(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 (* | pengenalan_suara_mulai )(bt_bdaddr_t *bd_addr) |
bt_status_t (* | stop_voice_recognition )(bt_bdaddr_t *bd_addr) |
bt_status_t (* | volume_control )( tipe bthf_volume_type_t , volume int, bt_bdaddr_t *bd_addr) |
bt_status_t (* | device_status_notification )( bthf_network_state_t ntk_state, bthf_service_type_t svc_type, sinyal int, int batt_chg) |
bt_status_t (* | cops_response )(const char *cops, bt_bdaddr_t *bd_addr) |
bt_status_t (* | cind_response )(int svc, int num_active, int num_held, bthf_call_state_t call_setup_state, int sinyal, int roam, int batt_chg, bt_bdaddr_t *bd_addr) |
bt_status_t (* | diformat_at_response )(const char *rsp, bt_bdaddr_t *bd_addr) |
bt_status_t (* | at_response )( bthf_at_response_t response_code, int error_code, bt_bdaddr_t *bd_addr) |
bt_status_t (* | clcc_response )(int indeks, bthf_call_direction_t dir, status bthf_call_state_t , mode bthf_call_mode_t , bthf_call_mpty_type_t mpty, const char *number, bthf_call_addrtype_t type, bt_bdaddr_t) *bd_addrt |
bt_status_t (* | phone_state_change )(int num_active, int num_held, bthf_call_state_t call_setup_state, const char *number, bthf_call_addrtype_t type) |
ruang kosong(* | pembersihan )(kosong) |
bt_status_t (* | configure_wbs )(bt_bdaddr_t *bd_addr, bthf_wbs_config_t config) |
Detil Deskripsi
Dokumentasi Lapangan
bt_status_t (* at_response)( bthf_at_response_t response_code, int error_code, bt_bdaddr_t *bd_addr) |
bt_status_t (* cind_response)(int svc, int num_active, int num_held, bthf_call_state_t call_setup_state, int sinyal, int roam, int batt_chg, bt_bdaddr_t *bd_addr) |
bt_status_t (* clcc_response)(indeks int, dir bthf_call_direction_t , status bthf_call_state_t , mode bthf_call_mode_t , bthf_call_mpty_type_t mpty, const char *number, bthf_call_addrtype_t type, bdaddr_t_bdadd) |
bt_status_t (* configure_wbs)(bt_bdaddr_t *bd_addr, bthf_wbs_config_t config) |
bt_status_t (* sambungkan)(bt_bdaddr_t *bd_addr) |
bt_status_t (* sambungkan_audio)(bt_bdaddr_t *bd_addr) |
bt_status_t (* cops_response)(const char *cops, bt_bdaddr_t *bd_addr) |
bt_status_t (* device_status_notification)( bthf_network_state_t ntk_state, bthf_service_type_t svc_type, sinyal int, int batt_chg) |
bt_status_t (* putuskan sambungan)(bt_bdaddr_t *bd_addr) |
bt_status_t (* disconnect_audio)(bt_bdaddr_t *bd_addr) |
bt_status_t (* formatted_at_response)(const char *rsp, bt_bdaddr_t *bd_addr) |
bt_status_t (* init)( bthf_callbacks_t *callback, int max_hf_clients) |
bt_status_t (* phone_state_change)(int num_active, int num_held, bthf_call_state_t call_setup_state, const char *number, bthf_call_addrtype_t type) |
beri tahu tentang perubahan status panggilan Setiap pembaruan memberi tahu
- Jumlah panggilan aktif/ditahan/berdering
- call_state: Ini menunjukkan perubahan status yang memicu pesan ini Ini akan mengambil salah satu nilai dari BtHfCallState
- nomor & jenis: hanya berlaku untuk panggilan masuk & tunggu
bt_status_t (* start_voice_recognition)(bt_bdaddr_t *bd_addr) |
bt_status_t (* stop_voice_recognition)(bt_bdaddr_t *bd_addr) |
bt_status_t (* volume_control)( tipe bthf_volume_type_t , volume int, bt_bdaddr_t *bd_addr) |
Dokumentasi untuk struct ini dibuat dari file berikut:
- hardware/libhardware/include/hardware/ bt_hf.h