ZegoRoomConfig

Advanced room configuration.

Declared in ZegoExpressDefines.h

Includes

Property Lists

  • maxMemberCount - The maximum number of users in the room, Passing 0 means unlimited, the default is unlimited.
  • isUserStatusNotify - Whether to enable the user in and out of the room callback notification [onRoomUserUpdate], the default is off.
  • token - The token issued by the developer's business server is used to ensure security. The generation rules are detailed in . Default is empty string, that is, no authentication.

Public-Static-Func Lists

Property Docs

maxMemberCount

The maximum number of users in the room, Passing 0 means unlimited, the default is unlimited.

isUserStatusNotify

Whether to enable the user in and out of the room callback notification [onRoomUserUpdate], the default is off.

token

The token issued by the developer's business server is used to ensure security. The generation rules are detailed in . Default is empty string, that is, no authentication.

Public-Static-Func Docs

defaultConfig

+ (instancetype)defaultConfig:;

Create a default room configuration.