ARTICLE AD BOX
I'm struggling to understand how I can create an ExerciseSessionRecord to store in Health Connect when the constructor is declared internal (restricted to library).
class ExerciseSessionRecord @RestrictTo(RestrictTo.Scope.LIBRARY) internal constructor(...I am using androidx.health.connect.client.records.ExerciseSessionRecord not the android.health.connect.datatypes.ExerciseSessionRecord.
I try with stable version of the library 1.1.0 and with 1.2.0-Alpha but I am not able to find any way for creating ExerciseSessionRecord object.
The strangest thing is that all the documentation and examples refer to this method as 'public' but looking at the source code it does not.
This guide covers the process of writing or updating data in Health Connect
