# CapturingFrameProcessor.FramesEvent

Artifact: [androidx.media3:media3-test-utils](https://developer.android.com/jetpack/androidx/releases/media3) [View Source](https://cs.android.com/search?q=file:androidx/media3/test/utils/CapturingFrameProcessor.java+class:androidx.media3.test.utils.CapturingFrameProcessor.FramesEvent)

*** ** * ** ***


```
class CapturingFrameProcessor.FramesEvent : CapturingFrameProcessor.Event
```

<br />

*** ** * ** ***

Holds the frames queued in a `https://developer.android.com/reference/kotlin/androidx/media3/test/utils/CapturingFrameProcessor#queue(java.util.List<androidx.media3.common.video.AsyncFrame>)` call.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/test/utils/CapturingFrameProcessor.FramesEvent#FramesEvent(java.util.List<androidx.media3.common.video.AsyncFrame>)(frames: (https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/media3/common/video/AsyncFrame!>!)` Creates a new instance. |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/test/utils/CapturingFrameProcessor.FramesEvent#equals(java.lang.Object)(o: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` Performs an identity-based comparison of the frames in the list, as `https://developer.android.com/reference/kotlin/androidx/media3/common/video/AsyncFrame` does not implement `equals()`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/test/utils/CapturingFrameProcessor.FramesEvent#hashCode()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/test/utils/CapturingFrameProcessor.FramesEvent#toString()()` |

| ### Public properties |
|---|---|
| `https://guava.dev/releases/snapshot-android/api/docs/com/google/common/collect/ImmutableList.html<https://developer.android.com/reference/kotlin/androidx/media3/common/video/AsyncFrame!>!` | `https://developer.android.com/reference/kotlin/androidx/media3/test/utils/CapturingFrameProcessor.FramesEvent#frames()` |

## Public constructors

### FramesEvent

```
FramesEvent(frames: (Mutable)List<AsyncFrame!>!)
```

Creates a new instance.

| Parameters |
|---|---|
| `frames: (https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/media3/common/video/AsyncFrame!>!` | The frames to record. Will be defensively copied. |

## Public functions

### equals

```
fun equals(o: Any?): Boolean
```

Performs an identity-based comparison of the frames in the list, as `https://developer.android.com/reference/kotlin/androidx/media3/common/video/AsyncFrame` does not implement `equals()`.

### hashCode

```
fun hashCode(): Int
```

### toString

```
fun toString(): String!
```

## Public properties

### frames

```
val frames: ImmutableList<AsyncFrame!>!
```