Начиная с 27 марта 2025 г. мы рекомендуем использовать android-latest-release
вместо aosp-main
для создания и участия в AOSP. Дополнительные сведения см. в разделе Изменения в AOSP .
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Ссылка на структуруhub_message_t
#include < context_hub.h >
Определение в строке 211 файла context_hub.h .
Документация для этой структуры была создана из следующего файла:
Контент и образцы кода на этой странице предоставлены по лицензиям. Java и OpenJDK – это зарегистрированные товарные знаки корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-29 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-29 UTC."],[],[],null,["# Android Hardware Abstraction Layer: hub_message_t Struct Reference\n\nhub_message_t Struct Reference\n==============================\n\n[Data Fields](#pub-attribs) \nhub_message_t Struct Reference \n\n`\n#include \u003c\n`[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)`\n\u003e\n`\n\n|-----------------------------------------------------------------|----------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| struct [hub_app_name_t](/reference/hal/structhub__app__name__t) | [app_name](/reference/hal/structhub__message__t#aa7c98f2ceb39e5648fd7e6798a74c011) |\n| ||\n| uint32_t | [message_type](/reference/hal/structhub__message__t#a84c56f5f8c75e0b021f73b2882280040) |\n| ||\n| uint32_t | [message_len](/reference/hal/structhub__message__t#a619a2b4c8e952645f4d7aa4b229fe3d9) |\n| ||\n| const void \\* | [message](/reference/hal/structhub__message__t#a0e3593425982893c2df232b28b0bd834) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[211](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\nof file\n[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\n.\n\nField Documentation\n-------------------\n\n\n|--------------------------------------------------------------------------|\n| struct [hub_app_name_t](/reference/hal/structhub__app__name__t) app_name |\n\n\nDefinition at line\n[212](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\nof file\n[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\n.\n\n|----------------------|\n| const void\\* message |\n\n\nDefinition at line\n[215](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\nof file\n[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\n.\n\n|----------------------|\n| uint32_t message_len |\n\n\nDefinition at line\n[214](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\nof file\n[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\n.\n\n|-----------------------|\n| uint32_t message_type |\n\n\nDefinition at line\n[213](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\nof file\n[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)"]]