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.
GeofenceData Struct Reference
#include <
fused_location.h
>
Represents the type of geofence and data
Definition at line
706
of file
fused_location.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: GeofenceData Struct Reference\n\nGeofenceData Struct Reference\n=============================\n\n[Data Fields](#pub-attribs) \nGeofenceData Struct Reference \n\n`\n#include \u003c\n`[fused_location.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)`\n\u003e\n`\n\n|-----------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| [GeofenceType](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h) | [type](/reference/hal/struct_geofence_data#aa92264671c3d394ff5180f5b4f83bc5d) |\n| ||\n| union { |\n| [GeofenceCircle](/reference/hal/struct_geofence_circle) [circle](/reference/hal/struct_geofence_data#a9572e4f1718773b73172ddff2a3a2c37) |\n| ||\n| } | [geofence](/reference/hal/struct_geofence_data#a28e592bd5482dd912868dcd4950ee471) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nRepresents the type of geofence and data\n\n\nDefinition at line\n[706](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\nof file\n[fused_location.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\n.\n\nField Documentation\n-------------------\n\n\n|----------------------------------------------------------------|\n| [GeofenceCircle](/reference/hal/struct_geofence_circle) circle |\n\n\nDefinition at line\n[709](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\nof file\n[fused_location.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\n.\n\n|------------------------|\n| union { ... } geofence |\n\n\n|--------------------------------------------------------------------------------------------------------------------------------|\n| [GeofenceType](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h) type |\n\n\nDefinition at line\n[707](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\nof file\n[fused_location.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [fused_location.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)"]]