public static enum MessageSearchQuery.Order extends java.lang.Enum<MessageSearchQuery.Order>
SCORE
query returns the result as by their matching score.
TIMESTAMP
query returns the result as by BaseMessage
's timestamp.Modifier and Type | Method and Description |
---|---|
static MessageSearchQuery.Order |
fromValue(java.lang.String value) |
java.lang.String |
getValue() |
static MessageSearchQuery.Order |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageSearchQuery.Order[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageSearchQuery.Order SCORE
public static final MessageSearchQuery.Order TIMESTAMP
public static MessageSearchQuery.Order[] values()
for (MessageSearchQuery.Order c : MessageSearchQuery.Order.values()) System.out.println(c);
public static MessageSearchQuery.Order valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static MessageSearchQuery.Order fromValue(java.lang.String value)
public java.lang.String getValue()
Copyright © 2021, Sendbird or its affiliates. All rights reserved.
Report a bug or request a feature
For further developer documentation, see Chat SDK Documentation. That documentation contains more detailed descriptions, conceptual overviews, definitions of terms, and code examples.