Back to Exoplayer

FilterableManifest (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/offline/FilterableManifest.html

latest1.8 KB
Original Source

Package com.google.android.exoplayer2.offline

Interface FilterableManifest<T>

  • Type Parameters:T - The manifest type.All Known Implementing Classes:DashManifest, HlsMediaPlaylist, HlsMultivariantPlaylist, HlsPlaylist, SsManifest

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public interfaceFilterableManifest\<T\>

Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.

A manifest that can generate copies of itself including only the streams specified by the given keys.

Method Summary

All Methods Instance Methods Abstract Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | T | copy​(List<StreamKey> streamKeys) | Deprecated.

Returns a copy of the manifest including only the streams specified by the given keys. |

Method Detail

- 

copy

[T](FilterableManifest.html "type parameter in FilterableManifest")copy​([List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[StreamKey](StreamKey.html "class in com.google.android.exoplayer2.offline")> streamKeys)

Deprecated.

Returns a copy of the manifest including only the streams specified by the given keys. If the manifest is unchanged then the instance may return itself. Parameters:streamKeys - A non-empty list of stream keys.Returns:The filtered manifest.