Skip to content

Commit a30a2a6

Browse files
Update getAnchoredWorkouts.md
1 parent 14ad4a3 commit a30a2a6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/getAnchoredWorkouts.md

+7
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,12 @@ The resulting workouts in the array will look as the following:
5959
distance: Number, // [[sample totalDistance] doubleValueForUnit:[HKUnit mileUnit]]
6060
start: String, // [RCTAppleHealthKit buildISO8601StringFromDate:sample.startDate];
6161
end: String, // [RCTAppleHealthKit buildISO8601StringFromDate:sample.endDate];
62+
duration: Number, // NSTimeInterval (seconds)
63+
workoutEvents: {
64+
endDate: String, // [RCTAppleHealthKit buildISO8601StringFromDate:sample.endDate];
65+
startDate: String, // [RCTAppleHealthKit buildISO8601StringFromDate:sample.startDate]
66+
eventTypeInt: Number,
67+
eventType: String, // EventType enum
68+
}[]
6269
}
6370
```

0 commit comments

Comments
 (0)