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.
GpsNiCallbacks Yapı Referansı
#include <
gps.h
>
GPS NI geri çağırma yapısı.
gps.h
dosyasının
1094
satırındadır.
Bildirim isteğini HAL'den GPSLocationProvider'a gönderir.
Tanımı,
gps.h
dosyasının
1099
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: GpsNiCallbacks Struct Reference\n\nGpsNiCallbacks Struct Reference\n===============================\n\n[Data Fields](#pub-attribs) \nGpsNiCallbacks 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| [gps_ni_notify_callback](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) | [notify_cb](/reference/hal/struct_gps_ni_callbacks#a8c0f079ea6a78056c2a4546d4e21f545) |\n| ||\n| [gps_create_thread](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) | [create_thread_cb](/reference/hal/struct_gps_ni_callbacks#af6cb40894e4bd8ff67fa74dae6c09524) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nGPS NI callback structure.\n\n\nDefinition at line\n[1094](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| [gps_create_thread](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) create_thread_cb |\n\n\nDefinition at line\n[1100](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| [gps_ni_notify_callback](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) notify_cb |\n\n\nSends the notification request from HAL to GPSLocationProvider.\n\n\nDefinition at line\n[1099](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)"]]