Mulai 27 Maret 2025, sebaiknya gunakan android-latest-release
, bukan aosp-main
, untuk mem-build dan berkontribusi pada AOSP. Untuk mengetahui informasi selengkapnya, lihat Perubahan pada AOSP.
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Referensi Struct GeofenceData
#include <
fused_location.h
>
Mewakili jenis pembatasan wilayah dan data
Definisi pada baris
706
file
fused_location.h
.
union { ... } pembatasan wilayah
|
Dokumentasi untuk struct ini dibuat dari file berikut:
Konten dan contoh kode di halaman ini tunduk kepada lisensi yang dijelaskan dalam Lisensi Konten. Java dan OpenJDK adalah merek dagang atau merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-27 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-27 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)"]]