Sensors_poll_device_t 結構參考
Sensors_poll_device_t 結構參考
#include < sensors.h >
資料欄位 | |
結構體hw_device_t | 常見的 |
整數(* | 啟動)(結構sensors_poll_device_t *dev,intsensor_handle,int啟用) |
整數(* | setDelay )( structsensors_poll_device_t *dev, intsensor_handle,int64_tsampling_period_ns) |
整數(* | 輪詢)(結構sensors_poll_device_t * dev, sensors_event_t *數據,int計數) |
詳細說明
現場文檔
int(* activate)( structsensors_poll_device_t *dev,intsensor_handle,intenabled) |
結構體hw_device_t公共 |
int(* poll)(結構sensors_poll_device_t *dev, sensors_event_t *data, int count) |
int(* setDelay)( structsensors_poll_device_t *dev,intsensor_handle,int64_tsampling_period_ns) |
該結構的文檔是從以下文件產生的:
- 硬體/libhardware/include/hardware/sensors.h