ZegoTeamState Constants Reference

Declared in ZegoExpressDefines.h

ZegoTeamState

Team state.

Definition

typedef NS_ENUM(NSUInteger, ZegoTeamState ) {
   ZegoTeamStateLogining = 0,
   ZegoTeamStateLogined = 1,
   ZegoTeamStateLoginFailed = 2,
   ZegoTeamStateReconnecting = 3,
   ZegoTeamStateReconnected = 4,
   ZegoTeamStateReconnectFailed = 5,
   ZegoTeamStateKickOut = 6,
   ZegoTeamStateLogout = 7,
};

Constants

ZegoTeamStateLogining

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.

Declared In ZegoExpressDefines.h.

ZegoTeamStateLogined

Join the room successfully. When joined the team successfully, it will enter this state.

Declared In ZegoExpressDefines.h.

ZegoTeamStateLoginFailed

Failed to join the room. When the join team fails, it will enter this state.

Declared In ZegoExpressDefines.h.

ZegoTeamStateReconnecting

The team connection is temporarily interrupted. If the interruption occurs due to poor network quality, the SDK will retry internally.

Declared In ZegoExpressDefines.h.

ZegoTeamStateReconnected

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.

Declared In ZegoExpressDefines.h.

ZegoTeamStateReconnectFailed

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.

Declared In ZegoExpressDefines.h.

ZegoTeamStateKickOut

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.

Declared In ZegoExpressDefines.h.

ZegoTeamStateLogout

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.

Declared In ZegoExpressDefines.h.

Declared In

ZegoExpressDefines.h