When I use Activity.Info.distanceToDestination on a Forerunner 245 (v7.80) I get the following run time error:
Error: Symbol Not Found Error
Details: Could not find symbol 'distanceToDestination'
This is the same in the simulator as well as on the actual watch.
This is the code:
distanceToGo = info.distanceToDestination != null ? info.distanceToDestination : 0.0;
So even if distanceToDestination was "null" the code should not crash.
However, I have loaded a fit file that contains a track with a destination, so this should work. The built-in data field shows the distance correctly.
Does the 245 not support this field? If yes, why, if I can get it as a standard built-in field?