# ListenerSet.IterationFinishedEvent

Artifact: [androidx.media3:media3-common](https://developer.android.com/jetpack/androidx/releases/media3) [View Source](https://cs.android.com/search?q=file:androidx/media3/common/util/ListenerSet.java+class:androidx.media3.common.util.ListenerSet.IterationFinishedEvent)

*** ** * ** ***


```
public interface ListenerSet.IterationFinishedEvent<T>
```

<br />

*** ** * ** ***

An event sent to a listener when all other events sent during one `https://developer.android.com/reference/android/os/Looper.html` message queue iteration were handled by the listener.

| Parameters |
|---|---|
| `<T>` | The listener type. |

## Summary

| ### Public methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/androidx/media3/common/util/ListenerSet.IterationFinishedEvent#invoke(T,androidx.media3.common.FlagSet)(T listener, https://developer.android.com/reference/androidx/media3/common/FlagSet eventFlags)` Invokes the iteration finished event. |

## Public methods

### invoke

```
abstract void invoke(T listener, FlagSet eventFlags)
```

Invokes the iteration finished event.

| Parameters |
|---|---|
| `T listener` | The listener to invoke the event on. |
| `https://developer.android.com/reference/androidx/media3/common/FlagSet eventFlags` | The combined event `https://developer.android.com/reference/androidx/media3/common/FlagSet` of all events sent in this iteration. |