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.
activity_recognition_callback_procs Struct Reference
#include <
activity_recognition.h
>
Definition at line
145
of file
activity_recognition.h
.
The documentation for this struct was generated from the following file:
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: 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)"]]