onSamplingData method
Handler for handling onData events from the buffering stream.
Implementation
@override
void onSamplingData(event) {
if (event is UserAccelerometerEvent) {
userAccelerometerEventList.add(event);
}
}
Handler for handling onData events from the buffering stream.
@override
void onSamplingData(event) {
if (event is UserAccelerometerEvent) {
userAccelerometerEventList.add(event);
}
}