resume method
void
resume()
Restarts data sampling in all studies on this client.
Calls SmartphoneStudyController.restart, so any stored sampling state is ignored and all task controls are resumed.
Implementation
void resume() {
for (var controller in _controllers.values) {
// controller.resume();
// Using restart instead of resume to make sure that sampling is restarted
// and not merely resumed based on the previous state.
// This is to make sure that sampling is restarted even if the study was paused or stopped before.
controller.restart();
}
notifyListeners();
}