removeOldCache abstract method
Deletes a cached media file that is the least recently used.
You can call this method to delete a cached media file when the storage space for the cached files is about to reach its limit. After you call this method, the SDK deletes the cached media file that is least used. The cached media file currently being played will not be deleted.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly. < 0: Failure. See MediaPlayerReason.
Implementation
Future<void> removeOldCache();