Class NoOpCacheEvictor

  • All Implemented Interfaces:
    Cache.Listener, CacheEvictor

    @Deprecated
    public final class NoOpCacheEvictor
    extends Object
    implements CacheEvictor
    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.
    Evictor that doesn't ever evict cache files.

    Warning: Using this evictor might have unforeseeable consequences if cache size is not managed elsewhere.