public static enum GroupChannelListQuery.Order extends java.lang.Enum<GroupChannelListQuery.Order>
CHRONOLOGICAL query returns the result as by event time descending order.
LATEST_LAST_MESSAGE query returns the result as by event time descending order.
CHANNEL_NAME_ALPHABETICAL query returns the result as by channel name alphabetical order.| Enum Constant and Description |
|---|
CHANNEL_NAME_ALPHABETICAL |
CHRONOLOGICAL |
LATEST_LAST_MESSAGE |
METADATA_VALUE_ALPHABETICAL |
| Modifier and Type | Method and Description |
|---|---|
static GroupChannelListQuery.Order |
from(int value) |
SortOrder |
getChannelSortOrder()
Channel's
SortOrder depending on the query's GroupChannelListQuery.Order. |
int |
getValue() |
static GroupChannelListQuery.Order |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GroupChannelListQuery.Order[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupChannelListQuery.Order CHRONOLOGICAL
public static final GroupChannelListQuery.Order LATEST_LAST_MESSAGE
public static final GroupChannelListQuery.Order CHANNEL_NAME_ALPHABETICAL
public static final GroupChannelListQuery.Order METADATA_VALUE_ALPHABETICAL
public static GroupChannelListQuery.Order[] values()
for (GroupChannelListQuery.Order c : GroupChannelListQuery.Order.values()) System.out.println(c);
public static GroupChannelListQuery.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 int getValue()
public static GroupChannelListQuery.Order from(int value)
public SortOrder getChannelSortOrder()
SortOrder depending on the query's GroupChannelListQuery.Order.SortOrder depending on the query's GroupChannelListQuery.Order. 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.