Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration ZegoRoomState

Room state.

Index

Enumeration members

Enumeration members

Connected

Connected: = 2

The status that is successfully connected. Entering this status indicates that the login to the room has been successful. The user can receive the callback notification of the user and the stream information in the room.

Connecting

Connecting: = 1

The state that the connection is being requested. It will enter this state after successful execution login room function. The display of the UI is usually performed using this state. If the connection is interrupted due to poor network quality, the SDK will perform an internal retry and will return to the requesting connection status.

Disconnected

Disconnected: = 0

Unconnected state, enter this state before logging in and after exiting the room. If there is a steady state abnormality in the process of logging in to the room, such as AppID or Token are incorrect, or if the same user name is logged in elsewhere and the local end is KickOut, it will enter this state.

Generated using TypeDoc