از 27 مارس 2025، توصیه می کنیم از android-latest-release
به جای aosp-main
برای ساختن و کمک به AOSP استفاده کنید. برای اطلاعات بیشتر، به تغییرات AOSP مراجعه کنید.
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
bthl_callbacks_t مرجع ساختار
#include < bt_hl.h >
ساختار برگشت به تماس BT-HL.
تعریف در خط 84 فایل bt_hl.h .
روی sizeof (bthl_callbacks_t) تنظیم کنید
تعریف در خط 86 فایل bt_hl.h .
مستندات این ساختار از فایل زیر تولید شده است:
- hardware/libhardware/include/hardware/ bt_hl.h
محتوا و نمونه کدها در این صفحه مشمول پروانههای توصیفشده در پروانه محتوا هستند. جاوا و OpenJDK علامتهای تجاری یا علامتهای تجاری ثبتشده Oracle و/یا وابستههای آن هستند.
تاریخ آخرین بهروزرسانی 2025-07-29 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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-29 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# Android Hardware Abstraction Layer: bthl_callbacks_t Struct Reference\n\nbthl_callbacks_t Struct Reference\n=================================\n\n[Data Fields](#pub-attribs) \nbthl_callbacks_t Struct Reference \n\n`\n#include \u003c\n`[bt_hl.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hl.h)`\n\u003e\n`\n\n|---------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| size_t | [size](/reference/hal/structbthl__callbacks__t#a854352f53b148adc24983a58a1866d66) |\n| ||\n| [bthl_app_reg_state_callback](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hl.h) | [app_reg_state_cb](/reference/hal/structbthl__callbacks__t#aaea59f09ff3d877dc31038fcb28e9c14) |\n| ||\n| [bthl_channel_state_callback](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hl.h) | [channel_state_cb](/reference/hal/structbthl__callbacks__t#ab7972ef918adf290f97b215e1b57f509) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nBT-HL callback structure.\n\n\nDefinition at line\n[84](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hl.h)\nof file\n[bt_hl.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hl.h)\n.\n\nField Documentation\n-------------------\n\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| [bthl_app_reg_state_callback](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hl.h) app_reg_state_cb |\n\n\nDefinition at line\n[87](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hl.h)\nof file\n[bt_hl.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hl.h)\n.\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| [bthl_channel_state_callback](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hl.h) channel_state_cb |\n\n\nDefinition at line\n[88](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hl.h)\nof file\n[bt_hl.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hl.h)\n.\n\n|-------------|\n| size_t size |\n\n\nset to sizeof(bthl_callbacks_t)\n\n\nDefinition at line\n[86](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hl.h)\nof file\n[bt_hl.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hl.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [bt_hl.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_hl.h)"]]