setMaxCacheFileCount abstract method
Sets the maximum number of media files that can be cached.
count
The maximum number of media files that can be cached. The default value is 1,000.
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> setMaxCacheFileCount(int count);