setMaxCacheFileSize abstract method
Sets the upper limit of the total cache size for media files.
cacheSizeThe total cache size limit for media files, in bytes. The default is 1 GB.
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> setMaxCacheFileSize(int cacheSize);