What happens when the cache is full?
What happens when the cache is full? Automatically clear the cache? Or direct play video does not cache?
Anyway to clear cache?
Any answers???
@Assassins719 the way to clear the cache is:
try {
Utils.cleanVideoCacheDir(this);
} catch (IOException e) {
Log.e(null, "Error cleaning cache", e);
Toast.makeText(this, "Error cleaning cache", Toast.LENGTH_LONG).show();
}
But want to know what happen when the cache is full, is free automatic or not? @danikula can you help us?
Thank you very much
Sent from Mail for Windows 10
From: Jose Jimenez Sent: Thursday, September 6, 2018 4:40 AM To: danikula/AndroidVideoCache Cc: Assassins719; Mention Subject: Re: [danikula/AndroidVideoCache] What happens when the cache is full?(#203)
Any answers??? @Assassins719 the way to clear the cache is: try { Utils.cleanVideoCacheDir(this); } catch (IOException e) { Log.e(null, "Error cleaning cache", e); Toast.makeText(this, "Error cleaning cache", Toast.LENGTH_LONG).show(); } But want to know what happen when the cache is full, is free automatic or not? @danikula can you help us? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
This library use LRU strategy for cache size.