getMaxCacheFileCount

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

int getMaxCacheFileCount();

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

Return Values

  • 0: Success. Returns the maximum number of media files that can be cached.
  • < 0: Failure. See MediaPlayerReason.