# NoOpExtractorOutput

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/NoOpExtractorOutput.java+class:androidx.media3.extractor.NoOpExtractorOutput)

*** ** * ** ***


```
@UnstableApi
public final class NoOpExtractorOutput implements ExtractorOutput
```

<br />

*** ** * ** ***

An `https://developer.android.com/reference/androidx/media3/extractor/ExtractorOutput` implementation that does nothing.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/media3/extractor/NoOpExtractorOutput#NoOpExtractorOutput()()` |

| ### Public methods |
|---|---|
| `void` | `https://developer.android.com/reference/androidx/media3/extractor/NoOpExtractorOutput#endTracks()()` Called when all tracks have been identified, meaning no new `trackId` values will be passed to `https://developer.android.com/reference/androidx/media3/extractor/ExtractorOutput#track(int,int)`. |
| `void` | `https://developer.android.com/reference/androidx/media3/extractor/NoOpExtractorOutput#seekMap(androidx.media3.extractor.SeekMap)(https://developer.android.com/reference/androidx/media3/extractor/SeekMap seekMap)` Called when a `https://developer.android.com/reference/androidx/media3/extractor/SeekMap` has been extracted from the stream. |
| `https://developer.android.com/reference/androidx/media3/extractor/TrackOutput` | `https://developer.android.com/reference/androidx/media3/extractor/NoOpExtractorOutput#track(int,int)(int id, int type)` Called by the `https://developer.android.com/reference/androidx/media3/extractor/Extractor` to get the `https://developer.android.com/reference/androidx/media3/extractor/TrackOutput` for a specific track. |

| ### Inherited Constants |
|---|
| From [androidx.media3.extractor.ExtractorOutput](https://developer.android.com/reference/androidx/media3/extractor/ExtractorOutput) |---|---| | `static final https://developer.android.com/reference/androidx/media3/extractor/ExtractorOutput` | `https://developer.android.com/reference/androidx/media3/extractor/ExtractorOutput#PLACEHOLDER()` Placeholder `https://developer.android.com/reference/androidx/media3/extractor/ExtractorOutput` implementation throwing an `https://developer.android.com/reference/java/lang/UnsupportedOperationException.html` in each method. | |

## Public constructors

### NoOpExtractorOutput

```
public NoOpExtractorOutput()
```

## Public methods

### endTracks

```
public void endTracks()
```

Called when all tracks have been identified, meaning no new `trackId` values will be passed to `https://developer.android.com/reference/androidx/media3/extractor/ExtractorOutput#track(int,int)`.

### seekMap

```
public void seekMap(SeekMap seekMap)
```

Called when a `https://developer.android.com/reference/androidx/media3/extractor/SeekMap` has been extracted from the stream.

| Parameters |
|---|---|
| `https://developer.android.com/reference/androidx/media3/extractor/SeekMap seekMap` | The extracted `https://developer.android.com/reference/androidx/media3/extractor/SeekMap`. |

### track

```
public TrackOutput track(int id, int type)
```

Called by the `https://developer.android.com/reference/androidx/media3/extractor/Extractor` to get the `https://developer.android.com/reference/androidx/media3/extractor/TrackOutput` for a specific track.

The same `https://developer.android.com/reference/androidx/media3/extractor/TrackOutput` is returned if multiple calls are made with the same `
id`.

| Parameters |
|---|---|
| `int id` | A track identifier. |
| `int type` | The `https://developer.android.com/reference/androidx/media3/common/C.TrackType`. |

| Returns |
|---|---|
| `https://developer.android.com/reference/androidx/media3/extractor/TrackOutput` | The `https://developer.android.com/reference/androidx/media3/extractor/TrackOutput` for the given track identifier. |