How can I get the details of the workouts like start and end date time of a a particular workout.
I am getting all the workout done using the following , and my aim is to get the heart rate during the duration of the workout.
var q = new HKSampleQuery(HKObjectType.GetWorkoutType(), p, 0, new NSSortDescriptor[] { },
new HKSampleQueryResultsHandler((HKSampleQuery query2, HKSample[] results, NSError error2) =>
{
}));