# FrameProcessorTestUtil.ExpectedFrame

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/FrameProcessorTestUtil.java+class:androidx.media3.test.utils.FrameProcessorTestUtil.ExpectedFrame)

*** ** * ** ***


```
public class FrameProcessorTestUtil.ExpectedFrame
```

<br />

*** ** * ** ***

Represents a frame that is expected to be presented.

## Summary

| ### Public fields |
|---|---|
| `final long` | `https://developer.android.com/reference/androidx/media3/test/utils/FrameProcessorTestUtil.ExpectedFrame#contentTimeUs()` |
| `final int` | `https://developer.android.com/reference/androidx/media3/test/utils/FrameProcessorTestUtil.ExpectedFrame#sequenceIndex()` |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/media3/test/utils/FrameProcessorTestUtil.ExpectedFrame#ExpectedFrame(long,int)(long contentTimeUs, int sequenceIndex)` Creates an instance. |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/media3/test/utils/FrameProcessorTestUtil.ExpectedFrame#equals(java.lang.Object)(@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/Object.html o)` |
| `int` | `https://developer.android.com/reference/androidx/media3/test/utils/FrameProcessorTestUtil.ExpectedFrame#hashCode()()` |
| `https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/media3/test/utils/FrameProcessorTestUtil.ExpectedFrame#toString()()` |

## Public fields

### contentTimeUs

```
public final long contentTimeUs
```

### sequenceIndex

```
public final int sequenceIndex
```

## Public constructors

### ExpectedFrame

```
public ExpectedFrame(long contentTimeUs, int sequenceIndex)
```

Creates an instance.

| Parameters |
|---|---|
| `long contentTimeUs` | The expected presentation timestamp, in microseconds. |
| `int sequenceIndex` | The index of the sequence this frame belongs to. |

## Public methods

### equals

```
public boolean equals(@Nullable Object o)
```

### hashCode

```
public int hashCode()
```

### toString

```
public String toString()
```