Enum ConversationUnreadCountFilter

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final int value
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ALL

      不按未读数筛选,返回全部匹配会话。

      UNREAD_ONLY

      仅返回未读消息数大于 0 的会话。

      MENTION_ONLY

      仅返回存在未读 @ 消息的会话。

      NO_UNREAD

      仅返回未读消息数等于 0 的会话。

    • Constructor Detail

    • Method Detail

      • fromValue

         static ConversationUnreadCountFilter fromValue(int value)

        根据协议值获取筛选条件。

        Parameters:
        value - 协议层枚举值。
        Returns:

        对应筛选条件;未知值返回 null。

        Since:

        5.44.0

      • values

         static Array<ConversationUnreadCountFilter> 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 ConversationUnreadCountFilter 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

      • getValue

         int getValue()

        获取协议层使用的枚举值。

        Returns:

        枚举值。

        Since:

        5.44.0