| Enum Constant and Description |
|---|
FAILED
A server-side error ocurred during submission.
|
INVALID
The event could not be processed.
|
PAYLOAD_TOO_LARGE
The sent payload was too large to be processed.
|
RATELIMIT
A user or device in the payload is currently rate limited and should try again later.
|
SKIPPED
The event was skipped due to configuration or callbacks.
|
SUCCESS
The event was sent successfully.
|
TIMEOUT
a server or client side error occuring when a request takes too long and is cancelled
|
UNKNOWN
The status could not be determined.
|
| Modifier and Type | Method and Description |
|---|---|
protected static Status |
getCodeStatus(int code) |
static Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Status UNKNOWN
public static final Status SKIPPED
public static final Status SUCCESS
public static final Status RATELIMIT
public static final Status PAYLOAD_TOO_LARGE
public static final Status INVALID
public static final Status FAILED
public static final Status TIMEOUT
public static Status[] values()
for (Status c : Status.values()) System.out.println(c);
public static Status 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 nullprotected static Status getCodeStatus(int code)