A partire dal 27 marzo 2025, ti consigliamo di utilizzare android-latest-release
anziché aosp-main
per compilare e contribuire ad AOSP. Per ulteriori informazioni, vedi Modifiche ad AOSP.
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Riferimento alla struttura activity_recognition_callback_procs
#include <
activity_recognition.h
>
Definizione nella riga
145
del file
activity_recognition.h
.
La documentazione di questa struttura è stata generata dal seguente file:
I campioni di contenuti e codice in questa pagina sono soggetti alle licenze descritte nella Licenza per i contenuti. Java e OpenJDK sono marchi o marchi registrati di Oracle e/o delle sue società consociate.
Ultimo aggiornamento 2025-07-27 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-27 UTC."],[],[],null,["# Android Hardware Abstraction Layer: activity_recognition_callback_procs Struct Reference\n\nactivity_recognition_callback_procs Struct Reference\n====================================================\n\n[Data Fields](#pub-attribs) \nactivity_recognition_callback_procs 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| void(\\* | [activity_callback](/reference/hal/structactivity__recognition__callback__procs#af588bc4aa15176e06488d3e85826b338) )(const struct [activity_recognition_callback_procs](/reference/hal/structactivity__recognition__callback__procs) \\*procs, const [activity_event_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/activity_recognition.h) \\*events, int count) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[145](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| void(\\* activity_callback)(const struct [activity_recognition_callback_procs](/reference/hal/structactivity__recognition__callback__procs) \\*procs, const [activity_event_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/activity_recognition.h) \\*events, int count) |\n\n\nDefinition at line\n[150](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)"]]