public static enum AckErrorCode.Values extends Enum<AckErrorCode.Values>
AckErrorCode
. 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 AckErrorCode
, i.e. AckErrorCode.of(String)
for creating an AckErrorCode
and
AckErrorCode.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 |
---|
ARCHIVAL_ERROR
Persisting fragment to S3 fails.
|
FRAGMENT_TIMECODE_LESSER_THAN_PREVIOUS
Fragment time code is less than previous time code.
|
INTERNAL_ERROR
Unexpected server error.
|
INVALID_MKV_DATA
Error thrown by MKV stream parser.
|
INVALID_PRODUCER_TIMESTAMP
Invalid producer side timestamp
|
KMS_KEY_ACCESS_DENIED
KMS access denied while encrypting data
|
KMS_KEY_DISABLED
KMS key is disabled while encrypting data
|
KMS_KEY_INVALID_STATE
Invalid state of the KMS key while encrypting data
|
KMS_KEY_INVALID_USAGE
Invalid usage of the KMS key while encrypting data
|
KMS_KEY_NOT_FOUND
KMS key not found while encrypting data
|
KMS_KEY_UNAVAILABLE
KMS key unavailable while encrypting data
|
KMS_KEY_VALIDATION_ERROR
KMS throws validation error while encrypting data
|
MAX_CONNECTION_DURATION_REACHED
Connection duration is greater than allowed threshold.
|
MAX_FRAGMENT_DURATION_REACHED
Fragment duration is greater than allowed limit.
|
MAX_FRAGMENT_SIZE_REACHED
Fragment size is greater than allowed limit.
|
MORE_THAN_ONE_TRACK_FOUND
Multiple MKV tracks found.
|
SDK_UNKNOWN
Special value indicating that this version of the SDK does not know about this enum value.
|
STREAM_DELETED
Stream has been deleted.
|
STREAM_NOT_ACTIVE
Stream is not active.
|
STREAM_READ_ERROR
Error when reading the input stream.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
It is recommended to use
AckErrorCode.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 AckErrorCode.Values |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AckErrorCode.Values[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AckErrorCode.Values STREAM_READ_ERROR
public static final AckErrorCode.Values MAX_FRAGMENT_SIZE_REACHED
public static final AckErrorCode.Values MAX_FRAGMENT_DURATION_REACHED
public static final AckErrorCode.Values MAX_CONNECTION_DURATION_REACHED
public static final AckErrorCode.Values FRAGMENT_TIMECODE_LESSER_THAN_PREVIOUS
public static final AckErrorCode.Values MORE_THAN_ONE_TRACK_FOUND
public static final AckErrorCode.Values INVALID_MKV_DATA
public static final AckErrorCode.Values INVALID_PRODUCER_TIMESTAMP
public static final AckErrorCode.Values STREAM_NOT_ACTIVE
public static final AckErrorCode.Values STREAM_DELETED
public static final AckErrorCode.Values KMS_KEY_ACCESS_DENIED
public static final AckErrorCode.Values KMS_KEY_DISABLED
public static final AckErrorCode.Values KMS_KEY_VALIDATION_ERROR
public static final AckErrorCode.Values KMS_KEY_UNAVAILABLE
public static final AckErrorCode.Values KMS_KEY_INVALID_USAGE
public static final AckErrorCode.Values KMS_KEY_INVALID_STATE
public static final AckErrorCode.Values KMS_KEY_NOT_FOUND
public static final AckErrorCode.Values ARCHIVAL_ERROR
public static final AckErrorCode.Values INTERNAL_ERROR
public static final AckErrorCode.Values SDK_UNKNOWN
public static AckErrorCode.Values[] values()
for (AckErrorCode.Values c : AckErrorCode.Values.values()) System.out.println(c);
public static AckErrorCode.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()
AckErrorCode.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<AckErrorCode.Values>