onSamplingStart method
Handler called when sampling period starts.
Implementation
@override
void onSamplingStart() {
sensorStartTime = DateTime.now().microsecondsSinceEpoch;
userAccelerometerEventList.clear();
}
Handler called when sampling period starts.
@override
void onSamplingStart() {
sensorStartTime = DateTime.now().microsecondsSinceEpoch;
userAccelerometerEventList.clear();
}