Class DataSourceInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    @Deprecated
    public final class DataSourceInputStream
    extends InputStream
    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.
    Allows data corresponding to a given DataSpec to be read from a DataSource and consumed through an InputStream.