sensor_input_metadata_t

Data structure describing metadata provided by a client to a sensor

Synopsis:

#include <sensor/sensor_api.h>
typedef struct sensor_input_metadata_t {
    sensor_metadata_type_t metadata_type;
    union {
        sensor_speed_metadata_t speed;
        sensor_speed_yaw_metadata_t speed_yaw;
        uint8_t reserved[16];
    };
} sensor_input_metadata_t;

Data:

sensor_metadata_type_t metadata_type
Sensor metadata type (see sensor_metadata_type_t).
union
Sensor input metadata (see sensor_speed_metadata_t and sensor_speed_yaw_metadata_t).

Library:

libsensor