Changing a session's (sub)activity?

Former Member
Former Member
https://forums.garmin.com/showthread.php?226648-Multi-sport-Mode&goto=newpost

How would I change an activity during a recording? From the API, it looks like you can only set the sport when calling createSession()

Also, I'm a little confused how to record information, is it done automatically when there's an active session?
ie, I enable the GPS and createSession, and it'll store all GPS positions until session.stop()?

Thanks