Ab dem 27. März 2025 empfehlen wir, android-latest-release
anstelle von aosp-main
zu verwenden, um AOSP zu erstellen und Beiträge dazu zu leisten. Weitere Informationen finden Sie unter Änderungen am AOSP.
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Strukturreferenz für „activity_recognition_module“
#include <
activity_recognition.h
>
Definition in Zeile
123
der Datei
activity_recognition.h
.
Die Dokumentation für diese Struktur wurde aus der folgenden Datei generiert:
Alle Inhalte und Codebeispiele auf dieser Seite unterliegen den Lizenzen wie im Abschnitt Inhaltslizenz beschrieben. Java und OpenJDK sind Marken oder eingetragene Marken von Oracle und/oder seinen Tochtergesellschaften.
Zuletzt aktualisiert: 2025-07-27 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-27 (UTC)."],[],[],null,["# Android Hardware Abstraction Layer: activity_recognition_module Struct Reference\n\nactivity_recognition_module Struct Reference\n============================================\n\n[Data Fields](#pub-attribs) \nactivity_recognition_module Struct Reference \n\n`\n#include \u003c\n`[activity_recognition.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/activity_recognition.h)`\n\u003e\n`\n\n|---------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| [hw_module_t](/reference/hal/structhw__module__t) | [common](/reference/hal/structactivity__recognition__module#aba34366e34e71c894dd7e4bd0fc5e5b7) |\n| ||\n| int(\\* | [get_supported_activities_list](/reference/hal/structactivity__recognition__module#ae992c75d0a7da0531d334ad5a4d610ae) )(struct [activity_recognition_module](/reference/hal/structactivity__recognition__module) \\*module, char const \\*const \\*\\*activity_list) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[123](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/activity_recognition.h)\nof file\n[activity_recognition.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/activity_recognition.h)\n.\n\nField Documentation\n-------------------\n\n\n|----------------------------------------------------------|\n| [hw_module_t](/reference/hal/structhw__module__t) common |\n\n\nCommon methods of the activity recognition module. This\n*must*\nbe the first member of\n[activity_recognition_module](/reference/hal/structactivity__recognition__module)\nas users of this structure will cast a\n[hw_module_t](/reference/hal/structhw__module__t)\nto\n[activity_recognition_module](/reference/hal/structactivity__recognition__module)\npointer in contexts where it's known the\n[hw_module_t](/reference/hal/structhw__module__t)\nreferences an\n[activity_recognition_module](/reference/hal/structactivity__recognition__module)\n.\n\n\nDefinition at line\n[130](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/activity_recognition.h)\nof file\n[activity_recognition.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/activity_recognition.h)\n.\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| int(\\* get_supported_activities_list)(struct [activity_recognition_module](/reference/hal/structactivity__recognition__module) \\*module, char const \\*const \\*\\*activity_list) |\n\n\nDefinition at line\n[139](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/activity_recognition.h)\nof file\n[activity_recognition.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/activity_recognition.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [activity_recognition.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/activity_recognition.h)"]]