이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 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: AGpsStatus Struct Reference\n\nAGpsStatus Struct Reference\n===========================\n\n[Data Fields](#pub-attribs) \nAGpsStatus Struct Reference \n\n`\n#include \u003c\n`[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)`\n\u003e\n`\n\n|-------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| size_t | [size](/reference/hal/struct_a_gps_status#a854352f53b148adc24983a58a1866d66) |\n| ||\n| [AGpsType](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) | [type](/reference/hal/struct_a_gps_status#ab639ef6817d6d72c3935f2fefaceb388) |\n| ||\n| [AGpsStatusValue](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) | [status](/reference/hal/struct_a_gps_status#ae9d376f9eb394301034e54329ce1c0d9) |\n| ||\n| uint32_t | [ipaddr](/reference/hal/struct_a_gps_status#ae1eb735f98e6aa289cc149178b6e0b00) |\n| ||\n| struct sockaddr_storage | [addr](/reference/hal/struct_a_gps_status#a7fe4b3f87e7a49d2520a0d26563bb921) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[885](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\nField Documentation\n-------------------\n\n\n|------------------------------|\n| struct sockaddr_storage addr |\n\n\nMust contain the IPv4 (AF_INET) or IPv6 (AF_INET6) address to report. Any other value of addr.ss_family will be rejected.\n\n\nDefinition at line\n[902](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\n|-----------------|\n| uint32_t ipaddr |\n\n\nMust be set to a valid IPv4 address if the field 'addr' contains an IPv4 address, or set to INADDR_NONE otherwise.\n\n\nDefinition at line\n[896](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\n|-------------|\n| size_t size |\n\n\nset to sizeof(AGpsStatus)\n\n\nDefinition at line\n[887](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\n|--------------------------------------------------------------------------------------------------------------------------|\n| [AGpsStatusValue](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) status |\n\n\nDefinition at line\n[890](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\n|-----------------------------------------------------------------------------------------------------------------|\n| [AGpsType](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) type |\n\n\nDefinition at line\n[889](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)"]]