Class AssetDataSource

  • All Implemented Interfaces:
    DataReader, DataSource

    @Deprecated
    public final class AssetDataSource
    extends BaseDataSource
    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 DataSource for reading from a local asset.