# PreloadState (/zh-CN/api-reference/rtc/android/class-preloadstate-android)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```java
class PreloadState {
public static final int PRELOAD_STATE_COMPLETED = 0;
public static final int PRELOAD_STATE_FAILED = 1;
public static final int PRELOAD_STATE_PRELOADING = 2;
public static final int PRELOAD_STATE_REMOVED = 3;
}
```
## 属性 [#属性]
0:音乐资源加载完成。
1:音乐资源加载失败。
2:音乐资源加载中。
3:已移除缓存的音乐资源。