sensor_streamprop_t
Sensor streaming properties
Synopsis:
#include <sensor/sensor_api.h>typedef enum {
SENSOR_STREAMPROP_END = -1,
SENSOR_STREAMPROP_FORMAT,
SENSOR_STREAMPROP_COORD_SYSTEM,
SENSOR_STREAMPROP_BUFFER_SIZE
} sensor_streamprop_t;Data:
- SENSOR_STREAMPROP_END
- The end-of-list identifier.
- SENSOR_STREAMPROP_FORMAT
- The sensor buffer format.
- SENSOR_STREAMPROP_COORD_SYSTEM
- The coordinate system of the sensor, which indicates if the Sensor service is applied a transform or not.
- SENSOR_STREAMPROP_BUFFER_SIZE
- The buffer size, in bytes, of the data payload of the sensor_buffer_t.
Library:
libsensorDescription:
These properties are used as keys for the sensor_get_streaming_property() function. Each key is associated with a value of the indicated type.
Page updated:
