How to get track points from a recording session

I want to draw activity elevation profile so I need to get recorded track points (distance/altitude value) from a recording session that I created with ActivityRecording.createSession(). Is that possible?