ZegoTeamState
ZegoTeamState
Team state.
Declared in ZegoExpressDefines.h
Properties
ZegoTeamStateLogining
ZegoTeamStateLogining=(0)Joining the team. When calling [joinTeam] to join the team, it will enter this state, indicating that it is requesting to connect to the server. The application interface is usually displayed through this state.
ZegoTeamStateLogined
ZegoTeamStateLogined=(1)Join the room successfully. When joined the team successfully, it will enter this state.
ZegoTeamStateLoginFailed
ZegoTeamStateLoginFailed=(2)Failed to join the room. When the join team fails, it will enter this state.
ZegoTeamStateReconnecting
ZegoTeamStateReconnecting=(3)The team connection is temporarily interrupted. If the interruption occurs due to poor network quality, the SDK will retry internally.
ZegoTeamStateReconnected
ZegoTeamStateReconnected=(4)The team connection 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.
ZegoTeamStateReconnectFailed
ZegoTeamStateReconnectFailed=(5)The team connection 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.
ZegoTeamStateKickOut
ZegoTeamStateKickOut=(6)Kicked out of the team by the server. For example, if you join the team with the same user name in other places, and the local end is kicked out of the team, it will enter this state.
ZegoTeamStateLogout
ZegoTeamStateLogout=(7)Leave the team is successful. It is in this state by default before join the team. When calling [leaveTeam] to leave the team successfully, it will enter this state.
