# PlayerState (/zh-CN/api-reference/rtc/android/enum-rteplayerstate)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
:::info[自从]
自 v4.4.0 版本新增。
:::
## 枚举值 [#枚举值]
(0):空闲状态。
(1):正在打开 URL 资源。调用 [openWithUrl](/zh-CN/api-reference/rtc/android/play/rte-player#api_player_openwithurl) 后会返回该状态码。
(2):已成功打开 URL 资源。[openWithUrl](/zh-CN/api-reference/rtc/android/play/rte-player#api_player_openwithurl) 成功打开资源后会返回该状态码。
(3):正在播放。
(4):播放已暂停。成功调用 [pause](/zh-CN/api-reference/rtc/android/play/rte-player#api_player_pause_player) 后会返回该状态码。
(5):播放已完成。
(6):播放已停止。成功调用 [stop](/zh-CN/api-reference/rtc/android/play/rte-player#api_player_stop_player) 后会返回该状态码。
(7):播放失败。发生内部错误时会返回该状态码。收到该状态后需先调用 [stop](/zh-CN/api-reference/rtc/android/play/rte-player#api_player_stop_player),再调用 [openWithUrl](/zh-CN/api-reference/rtc/android/play/rte-player#api_player_openwithurl) 重新打开资源。