removeOldCache
Deletes the least-used cached media file.
virtual int removeOldCache() = 0;
When the storage space for cached files is about to reach the limit, you can call this method. The SDK will delete the least-used cached media file.
Note: removeOldCache does not delete the cached media file that is currently playing.
Return Values
- 0: Success.
- < 0: Failure. See MEDIA_PLAYER_REASON.