Interface FilterableManifest<T>

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

    @Deprecated
    public interface FilterableManifest<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 Detail

      • copy

        T copy​(List<StreamKey> 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.