# CacheStatistics (/zh-CN/api-reference/rtc/android/class-cachestatistics)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="class_cachestatistics__prototype"></a>

```java
public class CacheStatistics {
  private long fileSize;
  private long cacheSize;
  private long downloadSize;
}
```

<a id="class_cachestatistics__parameters"></a>

## 属性 [#属性]

<ParameterList>
<a id="filesize"></a>
<Parameter name="fileSize">

正在播放的媒体文件大小，单位为字节。

</Parameter>
<a id="cachesize"></a>
<Parameter name="cacheSize">

待缓存的媒体文件大小，单位为字节。

</Parameter>
<a id="downloadsize"></a>
<Parameter name="downloadSize">

已下载的媒体文件大小，单位为字节。

</Parameter>
</ParameterList>
