Kể từ ngày 27 tháng 3 năm 2025, bạn nên sử dụng android-latest-release
thay vì aosp-main
để xây dựng và đóng góp cho AOSP. Để biết thêm thông tin, hãy xem phần Thay đổi đối với AOSP.
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
#include <
sensors.h
>
Sự kiện siêu dữ liệu cảm biến động. Hãy xem phần mô tả về loại SENSOR_TYPE_DYNAMIC_SENSOR_META để biết thông tin chi tiết.
Định nghĩa tại dòng
946
của tệp
sensors.h
.
Tài liệu cho cấu trúc này được tạo từ tệp sau:
-
hardware/libhardware/include/hardware/
sensors.h
Nội dung và mã mẫu trên trang này phải tuân thủ các giấy phép như mô tả trong phần Giấy phép nội dung. Java và OpenJDK là nhãn hiệu hoặc nhãn hiệu đã đăng ký của Oracle và/hoặc đơn vị liên kết của Oracle.
Cập nhật lần gần đây nhất: 2025-07-27 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-27 UTC."],[],[],null,["# Android Hardware Abstraction Layer: dynamic_sensor_meta_event Struct Reference\n\ndynamic_sensor_meta_event Struct Reference\n==========================================\n\n[Data Fields](#pub-attribs) \ndynamic_sensor_meta_event Struct Reference \n\n`\n#include \u003c\n`[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)`\n\u003e\n`\n\n|------------------------------------------------------------|----------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| int32_t | [connected](/reference/hal/structdynamic__sensor__meta__event#aeec69b1591d87e71937700c76eae7d16) |\n| ||\n| int32_t | [handle](/reference/hal/structdynamic__sensor__meta__event#a75c494ec3574661e6502bf2bf2965c0a) |\n| ||\n| const struct [sensor_t](/reference/hal/structsensor__t) \\* | [sensor](/reference/hal/structdynamic__sensor__meta__event#a671931980d2f38bc2b26aaaaf9bc30d8) |\n| ||\n| uint8_t | [uuid](/reference/hal/structdynamic__sensor__meta__event#a55fdff5eb435c150ffdb70a5c95edeb3) \\[16\\] |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDynamic sensor meta event. See the description of SENSOR_TYPE_DYNAMIC_SENSOR_META type for details.\n\n\nDefinition at line\n[946](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\nField Documentation\n-------------------\n\n\n|-------------------|\n| int32_t connected |\n\n\nDefinition at line\n[947](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|----------------|\n| int32_t handle |\n\n\nDefinition at line\n[948](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|-------------------------------------------------------------------|\n| const struct [sensor_t](/reference/hal/structsensor__t) \\* sensor |\n\n\nDefinition at line\n[949](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|--------------------|\n| uint8_t uuid\\[16\\] |\n\n\nDefinition at line\n[950](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)"]]