public static enum AckEventType.Values extends Enum<AckEventType.Values>
AckEventType
. This will not include any values added after this version of the SDK
was released, if use of a new enum value is required you can either upgrade your SDK version or use the string
overloads of AckEventType
, i.e. AckEventType.of(String)
for creating an AckEventType
and
AckEventType.getRawValue()
for retrieving the value of the event type. When the SDK does not know
about a particular enum value it will unmarshall it into SDK_UNKNOWN
.Enum Constant and Description |
---|
BUFFERING |
ERROR |
IDLE |
PERSISTED |
RECEIVED |
SDK_UNKNOWN
Special value indicating that this version of the SDK does not know about this enum value.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
It is recommended to use
AckEventType.getRawValue() to get the string value of the enum as the value
returned by this toString method may be null when the enum value is SDK_UNKNOWN . |
static AckEventType.Values |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AckEventType.Values[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AckEventType.Values BUFFERING
public static final AckEventType.Values RECEIVED
public static final AckEventType.Values PERSISTED
public static final AckEventType.Values ERROR
public static final AckEventType.Values IDLE
public static final AckEventType.Values SDK_UNKNOWN
public static AckEventType.Values[] values()
for (AckEventType.Values c : AckEventType.Values.values()) System.out.println(c);
public static AckEventType.Values valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
AckEventType.getRawValue()
to get the string value of the enum as the value
returned by this toString method may be null when the enum value is SDK_UNKNOWN
.toString
in class Enum<AckEventType.Values>