I am the developer of the Volleyball App (Volleyball | Garmin Connect IQ). When I try to record an Activity as SPORT_VOLLEYBALL, it fails and crashes the App on the watch. The documentation does not contain SPORT_VOLLEBALL, but it seems to exist anyway (documentation on the SPORT Types is outdated).
Is there a way for me to record a volleyball activity (if the watch supports it)? Right now I do the following, which always seems to log as SPORT_GENERIC, but at least it does not crash the watch:
using Toybox.ActivityRecording as Record; if (Record has :SPORT_VOLLEYBALL) { session = Record.createSession({:name=>"Volleyball", :sport=>Record.SPORT_VOLLEYBALL, :subSport=>Record.SUB_SPORT_EXERCISE}); } else { session = Record.createSession({:name=>"Volleyball", :sport=>Record.SPORT_GENERIC, :subSport=>Record.SUB_SPORT_EXERCISE}); }