# NoOpExtractorOutput

# 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)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/extractor/NoOpExtractorOutput "View this page in Java")

<br />

```
@UnstableApi
class NoOpExtractorOutput : ExtractorOutput
```

<br />

*** ** * ** ***

An[ExtractorOutput](https://developer.android.com/reference/kotlin/androidx/media3/extractor/ExtractorOutput)implementation that does nothing.

## Summary

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

|                                          ### Public functions                                          |
|--------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                          | [endTracks](https://developer.android.com/reference/kotlin/androidx/media3/extractor/NoOpExtractorOutput#endTracks())`()` Called when all tracks have been identified, meaning no new`trackId`values will be passed to[track](https://developer.android.com/reference/kotlin/androidx/media3/extractor/ExtractorOutput#track(int,int)).                                                                                                                                                                                                       |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                          | [seekMap](https://developer.android.com/reference/kotlin/androidx/media3/extractor/NoOpExtractorOutput#seekMap(androidx.media3.extractor.SeekMap))`(seekMap: `[SeekMap](https://developer.android.com/reference/kotlin/androidx/media3/extractor/SeekMap)`!)` Called when a[SeekMap](https://developer.android.com/reference/kotlin/androidx/media3/extractor/SeekMap)has been extracted from the stream.                                                                                                                                     |
| [TrackOutput](https://developer.android.com/reference/kotlin/androidx/media3/extractor/TrackOutput)`!` | [track](https://developer.android.com/reference/kotlin/androidx/media3/extractor/NoOpExtractorOutput#track(int,int))`(id: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`, type: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` Called by the[Extractor](https://developer.android.com/reference/kotlin/androidx/media3/extractor/Extractor)to get the[TrackOutput](https://developer.android.com/reference/kotlin/androidx/media3/extractor/TrackOutput)for a specific track. |

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

## Public constructors

### NoOpExtractorOutput

```
NoOpExtractorOutput()
```  

## Public functions

### endTracks

```
fun endTracks(): Unit
```

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

### seekMap

```
fun seekMap(seekMap: SeekMap!): Unit
```

Called when a[SeekMap](https://developer.android.com/reference/kotlin/androidx/media3/extractor/SeekMap)has been extracted from the stream.  

|                                                Parameters                                                 |
|-----------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|
| `seekMap: `[SeekMap](https://developer.android.com/reference/kotlin/androidx/media3/extractor/SeekMap)`!` | The extracted[SeekMap](https://developer.android.com/reference/kotlin/androidx/media3/extractor/SeekMap). |

### track

```
fun track(id: Int, type: Int): TrackOutput!
```

Called by the[Extractor](https://developer.android.com/reference/kotlin/androidx/media3/extractor/Extractor)to get the[TrackOutput](https://developer.android.com/reference/kotlin/androidx/media3/extractor/TrackOutput)for a specific track.

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

|                                     Parameters                                      |
|-------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------|
| `id: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)   | A track identifier.                                                                                 |
| `type: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | The[track type](https://developer.android.com/reference/kotlin/androidx/media3/common/C.TrackType). |

|                                                Returns                                                 |
|--------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|
| [TrackOutput](https://developer.android.com/reference/kotlin/androidx/media3/extractor/TrackOutput)`!` | The[TrackOutput](https://developer.android.com/reference/kotlin/androidx/media3/extractor/TrackOutput)for the given track identifier. |