Referensi Struktur btrc_interface_t
Referensi Struktur btrc_interface_t
#include < bt_rc.h >
Bidang Data | |
ukuran_t | ukuran |
bt_status_t (* | init )( btrc_callbacks_t *panggilan balik) |
bt_status_t (* | get_play_status_rsp )( btrc_play_status_t play_status, uint32_t song_len, uint32_t song_pos) |
bt_status_t (* | list_player_app_attr_rsp )(int num_attr, btrc_player_attr_t *p_attrs) |
bt_status_t (* | list_player_app_value_rsp )(int num_val, uint8_t *p_vals) |
bt_status_t (* | get_player_app_value_rsp )( btrc_player_settings_t *p_vals) |
bt_status_t (* | get_player_app_attr_text_rsp )(int num_attr, btrc_player_setting_text_t *p_attrs) |
bt_status_t (* | get_player_app_value_text_rsp )(int num_val, btrc_player_setting_text_t *p_vals) |
bt_status_t (* | get_element_attr_rsp )(uint8_t num_attr, btrc_element_attr_val_t *p_attrs) |
bt_status_t (* | set_player_app_value_rsp )( btrc_status_t rsp_status) |
bt_status_t (* | register_notification_rsp )( btrc_event_id_t event_id, btrc_notification_type_t type, btrc_register_notification_t *p_param) |
bt_status_t (* | set_volume )(volume uint8_t) |
ruang kosong(* | pembersihan )(kosong) |
Detil Deskripsi
Dokumentasi Lapangan
bt_status_t (* get_element_attr_rsp)(uint8_t num_attr, btrc_element_attr_val_t *p_attrs) |
bt_status_t (* get_play_status_rsp)( btrc_play_status_t play_status, uint32_t song_len, uint32_t song_pos) |
bt_status_t (* get_player_app_attr_text_rsp)(int num_attr, btrc_player_setting_text_t *p_attrs) |
bt_status_t (* get_player_app_value_rsp)( btrc_player_settings_t *p_vals) |
bt_status_t (* get_player_app_value_text_rsp)(int num_val, btrc_player_setting_text_t *p_vals) |
bt_status_t (* init)( btrc_callbacks_t *callback) |
bt_status_t (* list_player_app_attr_rsp)(int num_attr, btrc_player_attr_t *p_attrs) |
bt_status_t (* list_player_app_value_rsp)(int num_val, uint8_t *p_vals) |
bt_status_t (* register_notification_rsp)( btrc_event_id_t event_id, tipe btrc_notification_type_t , btrc_register_notification_t *p_param) |
bt_status_t (* set_player_app_value_rsp)( btrc_status_t rsp_status) |
bt_status_t (* set_volume)(volume uint8_t) |
Kirim pengaturan volume saat ini ke sisi jarak jauh. Dukungan terbatas pada SetAbsoluteVolume Ini dapat ditingkatkan untuk mendukung Volume Relatif (AVRCP 1.0). Dengan RelateVolume, kami akan mengirimkan VOLUME_UP/VOLUME_DOWN berlawanan dengan volume level volume absolut: Harus dalam kisaran 0-127. bit7 direset dan tidak dapat disetel
Dokumentasi untuk struct ini dibuat dari file berikut:
- hardware/libhardware/include/hardware/ bt_rc.h