Enter Drill distance when recording a swim session

Former Member
Former Member
The native Garmin Pool Swim app allows users to enter Drill mode. After the drill is done the user manually selects how far they've swum during the drill. I'd like to be able to do this from within my app which is recording a swimming session. I'm not sure if there is an API for this or if this can be accomplished with FitContributors or something else. Any advice on how to do this?