getMaxCacheFileCount abstract method

Future<int> getMaxCacheFileCount()

Gets the maximum number of media files that can be cached.

By default, the maximum number of media files that can be cached is 1,000.

Returns

0: The call succeeds and returns the maximum number of media files that can be cached. < 0: Failure. See MediaPlayerReason.

Implementation

Future<int> getMaxCacheFileCount();