I want to code an interval datafield and I need to detect the first interval after a warm up. The distance of the warm up is typically not specified but the runner could (as garmin does with its built in interval training) press the lap button before the first interval. Is it possible to detect whether a lap is fired due to the lap button pressed?
There is a method called onKey in the WatchUI class but it isn't specified whether datafields can access that class. It says:
The WatchUi module has user interface elements for watch apps.
Maybe there is another way to detect the lap button pressed or the root problem: to detect when the runner begins with its first interval.
Thanks for your help.