---
title: "workoutBuilderDidCollectEvent(_:)"
framework: healthkit
role: symbol
role_heading: Instance Method
path: "healthkit/hkliveworkoutbuilderdelegate/workoutbuilderdidcollectevent(_:)"
---

# workoutBuilderDidCollectEvent(_:)

Tells the delegate that a new event has been added to the builder.

## Declaration

```swift
func workoutBuilderDidCollectEvent(_ workoutBuilder: HKLiveWorkoutBuilder)
```

## Mentioned in

Running workout sessions
