Connection Error Code
*Error Codes for Connection Establishment**
Entries
IPC process terminated unexpectedly.
Invalid App Key
Token is invalid
App verification failed
does not match the registered information in the backend.
App Key is banned or deleted
User is banned
User Kicked Offline
User logged in on another device
SDK is not initialized
Incorrect parameters passed during developer API invocation
Connection already exists
Incorrect connection environment (RCpublic cloud SDK cannot connect to a private cloud environment).
SDK internal connection timeout. This error occurs when calling the connect interface with an invalid timeLimit value.
Environment validation failed
The automatic connection has timed out. The SDK will not continue to attempt the connection. The user needs to handle the timeout situation and then call the connectWithToken interface to initiate the connection on their own.
The token has already been used and cannot be used for connection. A one-time token can only be used once, and subsequent attempts will result in this error.
Token expired
User account deactivated
APP License expired. Please check if the IM service License deployed for you has expired.
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.