27 Mart 2025'ten itibaren AOSP'yi derlemek ve AOSP'ye katkıda bulunmak için aosp-main
yerine android-latest-release
kullanmanızı öneririz. Daha fazla bilgi için AOSP'de yapılan değişiklikler başlıklı makaleyi inceleyin.
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
gps_device_t Yapı Referansı
#include <
gps.h
>
Tanımı,
gps.h
dosyasının
1118
satırındadır.
Sağlanan ışıkları sağlanan değerlere ayarlayın.
Döndürülen değer: Başarılı olduğunda 0, başarısız olduğunda hata kodu.
Tanımı,
gps.h
dosyasının
1126
satırı
Bu yapının dokümanları aşağıdaki dosyadan oluşturulmuştur:
-
hardware/libhardware/include/hardware/
gps.h
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-27 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-27 UTC."],[],[],null,["# Android Hardware Abstraction Layer: gps_device_t Struct Reference\n\ngps_device_t Struct Reference\n=============================\n\n[Data Fields](#pub-attribs) \ngps_device_t 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| struct [hw_device_t](/reference/hal/structhw__device__t) | [common](/reference/hal/structgps__device__t#a86a0ca82dd3f02023e259b8b5e155dbe) |\n| ||\n| const [GpsInterface](/reference/hal/struct_gps_interface) \\*(\\* | [get_gps_interface](/reference/hal/structgps__device__t#a3557a772c1b906358fd5b4b42444e527) )(struct [gps_device_t](/reference/hal/structgps__device__t) \\*dev) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[1118](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 [hw_device_t](/reference/hal/structhw__device__t) common |\n\n\nDefinition at line\n[1119](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| const [GpsInterface](/reference/hal/struct_gps_interface) \\*(\\* get_gps_interface)(struct [gps_device_t](/reference/hal/structgps__device__t) \\*dev) |\n\n\nSet the provided lights to the provided values.\n\n\nReturns: 0 on succes, error code on failure.\n\n\nDefinition at line\n[1126](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)"]]