Exoplayer: Is there a function for reloading the cache information to refresh?

Created on 22 Aug 2018  路  1Comment  路  Source: google/ExoPlayer

When the cached information is loaded, the cached file is deleted for reasons such as cleaning up the garbage file, which means the cached information does not change.
Is there any way to redo it? I have read some source code and found that the function SimpleCache. Initialize () is not exposed.

question

Most helpful comment

SimpleCache updates itself automatically when it finds out a file is deleted. The only way to do it manually is releasing the cache instance and creating a new one.

>All comments

SimpleCache updates itself automatically when it finds out a file is deleted. The only way to do it manually is releasing the cache instance and creating a new one.

Was this page helpful?
0 / 5 - 0 ratings