Package io.rong.imlib
Enum IRongCoreListener.ConnectionStatusListener.ConnectionStatus
-
- All Implemented Interfaces:
public enum IRongCoreListener.ConnectionStatusListener.ConnectionStatus
/~english
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NETWORK_UNAVAILABLE
/~english
CONNECTED
/~english
CONNECTING
/~english
UNCONNECTED
/~english
KICKED_OFFLINE_BY_OTHER_CLIENT
/~english
TOKEN_INCORRECT
/~english
CONN_USER_BLOCKED
/~english
SIGN_OUT
/~english
SUSPEND
/~english
TIMEOUT
/~english
CONNECTION_STATUS_PROXY_UNAVAILABLE
/~english
USER_ABANDON
/~english
-
Method Summary
Modifier and Type Method Description static IRongCoreListener.ConnectionStatusListener.ConnectionStatus
valueOf(int code)
int
getValue()
/~english String
getMessage()
/~english static Array<IRongCoreListener.ConnectionStatusListener.ConnectionStatus>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static IRongCoreListener.ConnectionStatusListener.ConnectionStatus
valueOf(String name)
Returns the enum constant of this type with the specified name. -
-
Method Detail
-
valueOf
static IRongCoreListener.ConnectionStatusListener.ConnectionStatus valueOf(int code)
-
getValue
int getValue()
/~english
-
getMessage
String getMessage()
/~english
-
values
static Array<IRongCoreListener.ConnectionStatusListener.ConnectionStatus> values()
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.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static IRongCoreListener.ConnectionStatusListener.ConnectionStatus valueOf(String name)
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:
the enum constant with the specified name
-
-
-
-