config property

AwareSensorConfig? config
getter/setter pairoverride

The config manage configurations of sensor. Each sensor should overwrite AwareSensorConfig class for optimizing its for each sensor configuration. For example in the Accelerometer sensor, you need to add sensing frequency parameter into the configuration class. Finally, you also need to overwrite the -toMap() method which is required for sending the configuration to backend as a Map object.

Implementation

AwareSensorConfig? config;