Начиная с 27 марта 2025 г. мы рекомендуем использовать android-latest-release
вместо aosp-main
для создания и участия в AOSP. Дополнительные сведения см. в разделе Изменения в AOSP .
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Справочник по структуре геозоны
#include < fused_location.h >
Структура геозоны
Определение в строке 757 файла Fused_location.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: Geofence Struct Reference\n\nGeofence Struct Reference\n=========================\n\n[Data Fields](#pub-attribs) \nGeofence 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| int32_t | [geofence_id](/reference/hal/struct_geofence#ad490b6e63f73c30bf95fe555a6ac9752) |\n| ||\n| [GeofenceData](/reference/hal/struct_geofence_data) \\* | [data](/reference/hal/struct_geofence#a4e385f696c2685dee89f694ad534090e) |\n| ||\n| [GeofenceOptions](/reference/hal/struct_geofence_options) \\* | [options](/reference/hal/struct_geofence#abc2b50c286f4b66dcd1d03b0de0d53ac) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\n[Geofence](/reference/hal/struct_geofence)\nstruct\n\n\nDefinition at line\n[757](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| [GeofenceData](/reference/hal/struct_geofence_data) \\* data |\n\n\nDefinition at line\n[759](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| int32_t geofence_id |\n\n\nDefinition at line\n[758](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| [GeofenceOptions](/reference/hal/struct_geofence_options) \\* options |\n\n\nDefinition at line\n[760](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)"]]