setMaxCacheFileSize
Sets the maximum total storage size for cached media files.
int setMaxCacheFileSize(long cacheSize);
Parameters
- cacheSize
- The maximum total storage size for cached media files, in bytes. (Default is 1 GB.)
Return Values
- 0: Success.
- < 0: Failure. See MediaPlayerReason.