Hi
I'm writing a small app that start a ActivityRecording session :
session = Record.createSession({:name=>"Mytest", :sport=>Record.SPORT_GENERIC, :subSport=>Record.SUB_SPORT_GENERIC});
session.start();
But when I execute the following code :
using Toybox.ActivityMonitor as Act;
.../...
var activityInfo = Act.getInfo();
var average_speed = activityInfo.averageSpeed;
I get (at run time) the error :
Could not find symbol averageSpeed
I have the same problem with other fields of http://developer.garmin.com/connect-iq/api-docs/
I checked : activityInfo is not null. What am I doing wrong ?
Thx