# PreloadState (/zh-CN/api-reference/rtc/android/4.6.0/class-and-enum/classes/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;
}
```
## 属性 [#属性]
### `PRELOAD_STATE_COMPLETED` [#preload_state_completed]
0:音乐资源加载完成。
### `PRELOAD_STATE_FAILED` [#preload_state_failed]
1:音乐资源加载失败。
### `PRELOAD_STATE_PRELOADING` [#preload_state_preloading]
2:音乐资源加载中。
### `PRELOAD_STATE_REMOVED` [#preload_state_removed]
3:已移除缓存的音乐资源。