Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
bthh_callbacks_t Struct Reference
#include <
bt_hh.h
>
BT-HH callback structure.
Definition at line
124
of file
bt_hh.h
.
set to sizeof(BtHfCallbacks)
Definition at line
126
of file
bt_hh.h
.
The documentation for this struct was generated from the following file:
-
hardware/libhardware/include/hardware/
bt_hh.h
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-10-02 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)"]]