btrc_interface_t-Strukturreferenz
btrc_interface_t-Strukturreferenz
#include < bt_rc.h >
Datenfelder | |
size_t | Größe |
bt_status_t (* | init )( btrc_callbacks_t *callbacks) |
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 )(uint8_t volume) |
Leere(* | Aufräumen )(nichtig) |
detaillierte Beschreibung
Stellt die standardmäßige BT-RC AVRCP Target-Schnittstelle dar.
Felddokumentation
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 *callbacks) |
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, btrc_notification_type_t type, btrc_register_notification_t *p_param) |
bt_status_t (* set_player_app_value_rsp)( btrc_status_t rsp_status) |
bt_status_t (* set_volume)(uint8_t volume) |
Aktuelle Lautstärkeeinstellung an die Gegenstelle senden. Die Unterstützung ist auf SetAbsoluteVolume beschränkt. Dies kann erweitert werden, um Relative Volume (AVRCP 1.0) zu unterstützen. Mit RelateVolume senden wir VOLUME_UP/VOLUME_DOWN im Gegensatz zum absoluten Lautstärkepegel: Sollte im Bereich von 0-127 liegen. Bit7 ist reserviert und kann nicht gesetzt werden
Die Dokumentation für diese Struktur wurde aus der folgenden Datei generiert:
- hardware/libhardware/include/hardware/ bt_rc.h