19 #ifndef ANBOX_SDK_SENSOR_PROCESSOR_H_
20 #define ANBOX_SDK_SENSOR_PROCESSOR_H_
SensorProcessor allows processing sensor events from the Android container and perform sensor process...
virtual AnboxSensorType supported_sensors() const =0
Sensors supported by this processor.
virtual int read_data(AnboxSensorData *data, int timeout)=0
Read available sensor data.
SensorProcessor()=default
SensorProcessor & operator=(const SensorProcessor &)=delete
SensorProcessor(const SensorProcessor &)=delete
virtual int inject_data(AnboxSensorData data)=0
Inject sensor data into AnboxPlatform.
virtual ~SensorProcessor()=default
AnboxSensorData represents the sensor data stucture,.
AnboxSensorType
AnboxSensorType describes all sensor types supported by Anbox.