Tham chiếu cấu trúc GpsCallbacks_v1

Tham chiếu cấu trúc GpsCallbacks_v1

#include < gps_internal.h >

Trường dữ liệu

size_t kích thước
gps_location_callback location_cb
gps_status_callback status_cb
gps_sv_status_callback sv_status_cb
gps_nmea_callback nmea_cb
gps_set_capabilities set_capabilities_cb
gps_acquire_wakelock get_wakelock_cb
gps_release_wakelock release_wakelock_cb
gps_create_thread create_thread_cb
gps_request_utc_time request_utc_time_cb

miêu tả cụ thể

Cấu trúc gọi lại GPS kế thừa. Không được dùng nữa, sẽ bị loại bỏ trong bản phát hành Android tiếp theo. Sử dụng GpsCallbacks để thay thế.

Định nghĩa ở dòng 33 của tệp gps_internal.h .

Tài liệu thực địa

gps_acquire_wakelock takes_wakelock_cb

Định nghĩa ở dòng 41 của tệp gps_internal.h .

gps_create_thread create_thread_cb

Định nghĩa ở dòng 43 của tệp gps_internal.h .

Định nghĩa ở dòng 36 của tệp gps_internal.h .

Định nghĩa ở dòng 39 của tệp gps_internal.h .

gps_release_wakelock release_wakelock_cb

Định nghĩa ở dòng 42 của tệp gps_internal.h .

gps_request_utc_time request_utc_time_cb

Định nghĩa ở dòng 44 của tệp gps_internal.h .

gps_set_capabilities set_capabilities_cb

Định nghĩa ở dòng 40 của tệp gps_internal.h .

size_t size

đặt thành sizeof (GpsCallbacks_v1)

Định nghĩa ở dòng 35 của tệp gps_internal.h .

Định nghĩa ở dòng 37 của tệp gps_internal.h .

Định nghĩa ở dòng 38 của tệp gps_internal.h .


Tài liệu cho cấu trúc này được tạo từ tệp sau:
  • phần cứng / libhardware / bao gồm / phần cứng / gps_internal.h