Class DataSourceInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public final class DataSourceInputStream
    extends InputStream
    Deprecated. 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.