Package io.rong.imlib

Enum RongIMClient.ErrorCode

    • Constructor Detail

    • Method Detail

      • valueOf

         static RongIMClient.ErrorCode valueOf(int code)

        设置错误代码值。

        Parameters:
        code - 错误代码。
        Returns:

        错误代码枚举。

      • getValue

         int getValue()

        获取错误代码值。

        Returns:

        错误代码值。

      • getMessage

         String getMessage()

        获取错误消息。

        Returns:

        错误消息。

      • values

         static Array<RongIMClient.ErrorCode> 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 RongIMClient.ErrorCode 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