public enum NexmoPageOrder extends java.lang.Enum<NexmoPageOrder>
Enum representing the order of the NexmoConversationsPage
or NexmoEventsPage
.
Load all conversation events in ascending order:
conversation.getEvents(100, NexmoPageOrder.NexmoMPageOrderAsc, null, new NexmoRequestListener() { @Override public void onSuccess(@Nullable NexmoEventsPage eventsPage) {} @Override public void onError(@NonNull NexmoApiError apiError) {} });
Enum Constant and Description |
---|
NexmoMPageOrderAsc
Order ascending.
|
NexmoPageOrderDesc
Order descending
|
Modifier and Type | Method and Description |
---|---|
static NexmoPageOrder |
fromString(java.lang.String value) |
java.lang.String |
getValue() |
static NexmoPageOrder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NexmoPageOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NexmoPageOrder NexmoMPageOrderAsc
public static final NexmoPageOrder NexmoPageOrderDesc
public static NexmoPageOrder[] values()
for (NexmoPageOrder c : NexmoPageOrder.values()) System.out.println(c);
public static NexmoPageOrder 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 NexmoPageOrder fromString(java.lang.String value)
public java.lang.String getValue()