CacheStatistics

Statistics about the media files being cached.

public class CacheStatistics {
  @CalledByNative
  public CacheStatistics() {
    fileSize = 0;
    cacheSize = 0;
    downloadSize = 0;
  }
  private long fileSize;
  private long cacheSize;
  private long downloadSize;
}

Attributes

fileSize
The size (bytes) of the media file being played.
cacheSize
The size (bytes) of the media file that you want to cache.
downloadSize
The size (bytes) of the media file that has been downloaded.