getMaxCacheFileSize abstract method

Future<int> getMaxCacheFileSize()

Gets the maximum total cache size of cache files set.

The default maximum total cache size of cache files in the SDK is 1GB. You can call the setMaxCacheFileSize method to customize the limit.

Returns

0: Success. Returns the maximum total cache size in bytes. < 0: Failure. See MediaPlayerReason.

Implementation

Future<int> getMaxCacheFileSize();