2025 年 3 月 27 日より、AOSP のビルドとコントリビューションには aosp-main
ではなく android-latest-release
を使用することをおすすめします。詳細については、AOSP の変更をご覧ください。
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
bthh_callbacks_t 構造体リファレンス
#include <
bt_hh.h
>
BT-HH コールバック構造。
ファイル
bt_hh.h
の
124 行目
の定義。
この構造体のドキュメントは、次のファイルから生成されました。
-
hardware/libhardware/include/hardware/
bt_hh.h
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-27 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 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)"]]