# Id3Decoder.FramePredicate

Artifact: [androidx.media3:media3-extractor](https://developer.android.com/jetpack/androidx/releases/media3) [View Source](https://cs.android.com/search?q=file:androidx/media3/extractor/metadata/id3/Id3Decoder.java+class:androidx.media3.extractor.metadata.id3.Id3Decoder.FramePredicate)

*** ** * ** ***


```
public interface Id3Decoder.FramePredicate
```

<br />

*** ** * ** ***

A predicate for determining whether individual frames should be decoded.

## Summary

| ### Public methods |
|---|---|
| `abstract boolean` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/Id3Decoder.FramePredicate#evaluate(int,int,int,int,int)(int majorVersion, int id0, int id1, int id2, int id3)` Returns whether a frame with the specified parameters should be decoded. |

## Public methods

### evaluate

```
abstract boolean evaluate(int majorVersion, int id0, int id1, int id2, int id3)
```

Returns whether a frame with the specified parameters should be decoded.

| Parameters |
|---|---|
| `int majorVersion` | The major version of the ID3 tag. |
| `int id0` | The first byte of the frame ID. |
| `int id1` | The second byte of the frame ID. |
| `int id2` | The third byte of the frame ID. |
| `int id3` | The fourth byte of the frame ID. |

| Returns |
|---|---|
| `boolean` | Whether the frame should be decoded. |