2025년 3월 27일부터 AOSP를 빌드하고 기여하려면 aosp-main
대신 android-latest-release
를 사용하는 것이 좋습니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
FlpGeofencingInterface 구조체 참조
#include <
fused_location.h
>
FLP_Geofencing 지원을 위한 확장된 인터페이스
fused_location.h
파일의
764
строке에 정의
void(* add_geofences)(int32_t number_of_geofences,
Geofence
**geofences)
|
지오펜싱 목록을 추가합니다. 매개변수: number_of_geofences - 추가해야 하는 지오펜싱 수입니다. geofences -
Geofence
구조체에 대한 포인터 배열의 포인터입니다.
fused_location.h
FILE의
782
라인에 정의되어 있습니다.
void(* modify_geofence_option)(int32_t geofence_id,
GeofenceOptions
*options)
|
void(* pause_geofence)(int32_t geofence_id)
|
특정 지오펜싱의 모니터링을 일시중지합니다. 매개변수: geofence_id - 지오펜싱의 ID입니다.
fused_location.h
FILE의
789
라인에 정의가 있습니다.
void(* remove_geofences)(int32_t number_of_geofences, int32_t *geofence_id)
|
지오펜스 목록을 삭제합니다. 함수가 반환된 후에는 알림을 전송하면 안 됩니다. 매개변수: number_of_geofences - 추가해야 하는 지오펜스 수입니다. geofence_id - 삭제할 geofence_id 배열의 포인터입니다.
fused_location.h
파일의
819
줄에 있는 정의입니다.
void(* resume_geofence)(int32_t geofence_id, int monitor_transitions)
|
특정 지오펜싱 모니터링을 재개합니다. 매개변수: geofence_id - 지오펜싱의 ID입니다. monitor_transitions - 모니터링할 전환입니다. FLP_GEOFENCE_TRANSITION_ENTERED, FLP_GEOFENCE_TRANSITION_EXITED, FLP_GEOFENCE_TRANSITION_UNCERTAIN의 비트 OR입니다. 이 값은 add_geofence_area 호출에서 제공된 연결된 값을 대체합니다.
fused_location.h
FILE의
801
라인에 정의가 있습니다.
이 구조체에 관한 문서는 다음 파일에서 생성되었습니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(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-27(UTC)"],[],[],null,["# Android Hardware Abstraction Layer: FlpGeofencingInterface Struct Reference\n\nFlpGeofencingInterface Struct Reference\n=======================================\n\n[Data Fields](#pub-attribs) \nFlpGeofencingInterface 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| size_t | [size](/reference/hal/struct_flp_geofencing_interface#a854352f53b148adc24983a58a1866d66) |\n| ||\n| void(\\* | [init](/reference/hal/struct_flp_geofencing_interface#afa3aa235f58ff4fce5e90098e18d3707) )( [FlpGeofenceCallbacks](/reference/hal/struct_flp_geofence_callbacks) \\*callbacks) |\n| ||\n| void(\\* | [add_geofences](/reference/hal/struct_flp_geofencing_interface#a6db3722bd6f441b0ce4e2433be2353fe) )(int32_t number_of_geofences, [Geofence](/reference/hal/struct_geofence) \\*\\*geofences) |\n| ||\n| void(\\* | [pause_geofence](/reference/hal/struct_flp_geofencing_interface#a850b900b8eabf9328ec853978936ed4f) )(int32_t geofence_id) |\n| ||\n| void(\\* | [resume_geofence](/reference/hal/struct_flp_geofencing_interface#af409f9b64a5b9b42a5417ae381fabc88) )(int32_t geofence_id, int monitor_transitions) |\n| ||\n| void(\\* | [modify_geofence_option](/reference/hal/struct_flp_geofencing_interface#a4c8fdb5d1b08fa3f65f53fb4ec6ea075) )(int32_t geofence_id, [GeofenceOptions](/reference/hal/struct_geofence_options) \\*options) |\n| ||\n| void(\\* | [remove_geofences](/reference/hal/struct_flp_geofencing_interface#a358dea1e39d7696aad6e4c19d8cb05df) )(int32_t number_of_geofences, int32_t \\*geofence_id) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nExtended interface for FLP_Geofencing support\n\n\nDefinition at line\n[764](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| void(\\* add_geofences)(int32_t number_of_geofences, [Geofence](/reference/hal/struct_geofence) \\*\\*geofences) |\n\n\nAdd a list of geofences. Parameters: number_of_geofences - The number of geofences that needed to be added. geofences - Pointer to array of pointers to\n[Geofence](/reference/hal/struct_geofence)\nstructure.\n\n\nDefinition at line\n[782](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| void(\\* init)( [FlpGeofenceCallbacks](/reference/hal/struct_flp_geofence_callbacks) \\*callbacks) |\n\n\nOpens the geofence interface and provides the callback routines to the implemenation of this interface. Once called you should respond by calling the flp_capabilities_callback in\n[FlpGeofenceCallbacks](/reference/hal/struct_flp_geofence_callbacks)\nto specify the capabilities that your implementation supports.\n\n\nDefinition at line\n[774](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| void(\\* modify_geofence_option)(int32_t geofence_id, [GeofenceOptions](/reference/hal/struct_geofence_options) \\*options) |\n\n\nModify a particular geofence option. Parameters: geofence_id - The id for the geofence. options - Various options associated with the geofence. See\n[GeofenceOptions](/reference/hal/struct_geofence_options)\nstructure for details.\n\n\nDefinition at line\n[810](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| void(\\* pause_geofence)(int32_t geofence_id) |\n\n\nPause monitoring a particular geofence. Parameters: geofence_id - The id for the geofence.\n\n\nDefinition at line\n[789](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| void(\\* remove_geofences)(int32_t number_of_geofences, int32_t \\*geofence_id) |\n\n\nRemove a list of geofences. After the function returns, no notifications should be sent. Parameter: number_of_geofences - The number of geofences that needed to be added. geofence_id - Pointer to array of geofence_ids to be removed.\n\n\nDefinition at line\n[819](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| void(\\* resume_geofence)(int32_t geofence_id, int monitor_transitions) |\n\n\nResume monitoring a particular geofence. Parameters: geofence_id - The id for the geofence. monitor_transitions - Which transitions to monitor. Bitwise OR of FLP_GEOFENCE_TRANSITION_ENTERED, FLP_GEOFENCE_TRANSITION_EXITED and FLP_GEOFENCE_TRANSITION_UNCERTAIN. This supersedes the value associated provided in the add_geofence_area call.\n\n\nDefinition at line\n[801](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| size_t size |\n\n\nset to sizeof(FlpGeofencingInterface)\n\n\nDefinition at line\n[766](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)"]]