setMaxCacheFileCount abstract method
Sets the maximum number of cached media files.
countThe maximum number of media files that can be cached. The default value is 1000.
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. See Error Codes for details and resolution suggestions. < 0: Failure. See MediaPlayerReason.
Implementation
Future<void> setMaxCacheFileCount(int count);