À partir du 27 mars 2025, nous vous recommandons d'utiliser android-latest-release
au lieu de aosp-main
pour créer et contribuer à AOSP. Pour en savoir plus, consultez la section Modifications apportées à AOSP.
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Référence de la struct bthh_callbacks_t
#include <
bt_hh.h
>
Structure de rappel BT-HH.
Définition à la ligne
124
du fichier
bt_hh.h
.
défini sur sizeof(BtHfCallbacks)
Définition à la ligne
126
du fichier
bt_hh.h
.
La documentation de ce struct a été générée à partir du fichier suivant :
-
hardware/libhardware/include/hardware/
bt_hh.h
Le contenu et les exemples de code de cette page sont soumis aux licences décrites dans la Licence de contenu. Java et OpenJDK sont des marques ou des marques déposées d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/27 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/07/27 (UTC)."],[],[],null,["# Android Hardware Abstraction Layer: bthh_callbacks_t Struct Reference\n\nbthh_callbacks_t Struct Reference\n=================================\n\n[Data Fields](#pub-attribs) \nbthh_callbacks_t Struct Reference \n\n`\n#include \u003c\n`[bt_hh.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h)`\n\u003e\n`\n\n|------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| size_t | [size](/reference/hal/structbthh__callbacks__t#a854352f53b148adc24983a58a1866d66) |\n| ||\n| [bthh_connection_state_callback](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h) | [connection_state_cb](/reference/hal/structbthh__callbacks__t#a824f5cd16f00934f561eb84fb6030266) |\n| ||\n| [bthh_hid_info_callback](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h) | [hid_info_cb](/reference/hal/structbthh__callbacks__t#a309f9ffa147548eba781979c9cc76c89) |\n| ||\n| [bthh_protocol_mode_callback](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h) | [protocol_mode_cb](/reference/hal/structbthh__callbacks__t#af5c3ba3d027163f4e347a4120367cae3) |\n| ||\n| [bthh_idle_time_callback](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h) | [idle_time_cb](/reference/hal/structbthh__callbacks__t#a32ab6c958b9c88f860ff954759a86ecb) |\n| ||\n| [bthh_get_report_callback](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h) | [get_report_cb](/reference/hal/structbthh__callbacks__t#ab8068cf080ed8dec2492f5f1f536b652) |\n| ||\n| [bthh_virtual_unplug_callback](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h) | [virtual_unplug_cb](/reference/hal/structbthh__callbacks__t#a42b88aa858f473d86801de96705012a7) |\n| ||\n| [bthh_handshake_callback](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h) | [handshake_cb](/reference/hal/structbthh__callbacks__t#aea22bf4520b5c0361a0b8fc1a9613686) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nBT-HH callback structure.\n\n\nDefinition at line\n[124](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h)\nof file\n[bt_hh.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h)\n.\n\nField Documentation\n-------------------\n\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [bthh_connection_state_callback](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h) connection_state_cb |\n\n\nDefinition at line\n[127](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h)\nof file\n[bt_hh.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h)\n.\n\n|--------------------------------------------------------------------------------------------------------------------------------------------|\n| [bthh_get_report_callback](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h) get_report_cb |\n\n\nDefinition at line\n[131](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h)\nof file\n[bt_hh.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h)\n.\n\n|------------------------------------------------------------------------------------------------------------------------------------------|\n| [bthh_handshake_callback](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h) handshake_cb |\n\n\nDefinition at line\n[133](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h)\nof file\n[bt_hh.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h)\n.\n\n|----------------------------------------------------------------------------------------------------------------------------------------|\n| [bthh_hid_info_callback](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h) hid_info_cb |\n\n\nDefinition at line\n[128](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h)\nof file\n[bt_hh.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h)\n.\n\n|------------------------------------------------------------------------------------------------------------------------------------------|\n| [bthh_idle_time_callback](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h) idle_time_cb |\n\n\nDefinition at line\n[130](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h)\nof file\n[bt_hh.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h)\n.\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| [bthh_protocol_mode_callback](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h) protocol_mode_cb |\n\n\nDefinition at line\n[129](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h)\nof file\n[bt_hh.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h)\n.\n\n|-------------|\n| size_t size |\n\n\nset to sizeof(BtHfCallbacks)\n\n\nDefinition at line\n[126](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h)\nof file\n[bt_hh.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h)\n.\n\n|----------------------------------------------------------------------------------------------------------------------------------------------------|\n| [bthh_virtual_unplug_callback](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h) virtual_unplug_cb |\n\n\nDefinition at line\n[132](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h)\nof file\n[bt_hh.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [bt_hh.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hh.h)"]]