ZegoSceneState
ZegoSceneState
Range scene state change reason.
Declared in constants/ZegoSceneState.java
Properties
ZegoSceneStateLogining
ZegoSceneStateLogining=(0)Logging in to the scene. When calling [loginScene] to log in to the scene, it will enter this state, indicating that it is requesting to connect to the server. The application interface is usually displayed through this state.
ZegoSceneStateLogined
ZegoSceneStateLogined=(1)Log in to the scene successfully. When the scene is successfully logged in, it will enter this state, indicating that the login to the scene has been successful, and users can normally use the range scene capabilities.
ZegoSceneStateLoginFailed
ZegoSceneStateLoginFailed=(2)Failed to log in to the scene. When the login fails, it will enter this state, indicating that the login scene has failed, for example, AppID or Token is incorrect, etc.
ZegoSceneStateReconnecting
ZegoSceneStateReconnecting=(3)The scene connection is temporarily interrupted. If the interruption occurs due to poor network quality, the SDK will retry internally.
ZegoSceneStateReconnected
ZegoSceneStateReconnected=(4)The scene is successfully reconnected. If there is an interruption due to poor network quality, the SDK will retry internally, and enter this state after successful reconnection.
ZegoSceneStateReconnectFailed
ZegoSceneStateReconnectFailed=(5)The scene fails to reconnect. If there is an interruption due to poor network quality, the SDK will retry internally, and enter this state after the reconnection fails.
ZegoSceneStateKickOut
ZegoSceneStateKickOut=(6)Kicked out of the scene by the server. For example, if you log in to the scene with the same user name in other places, and the local end is kicked out of the scene, it will enter this state.
ZegoSceneStateLogout
ZegoSceneStateLogout=(7)Logout of the scene is successful. It is in this state by default before logging into the scene. When calling [logoutScene] to log out of the scene successfully, it will enter this state.
