public enum SwiffyConversionErrorReason extends Enum<SwiffyConversionErrorReason>
Java class for SwiffyConversionError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="SwiffyConversionError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="SERVER_ERROR"/>
<enumeration value="INVALID_FLASH_FILE"/>
<enumeration value="UNSUPPORTED_FLASH"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
INVALID_FLASH_FILE
Indicates the uploaded flash asset is not a valid flash file.
|
SERVER_ERROR
Indicates the Swiffy service has an internal error that prevents the flash
asset being converted.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
UNSUPPORTED_FLASH
Indicates the Swiffy service currently does not support converting this
flash asset.
|
| Modifier and Type | Method and Description |
|---|---|
static SwiffyConversionErrorReason |
fromValue(String v) |
String |
value() |
static SwiffyConversionErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SwiffyConversionErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SwiffyConversionErrorReason SERVER_ERROR
public static final SwiffyConversionErrorReason INVALID_FLASH_FILE
public static final SwiffyConversionErrorReason UNSUPPORTED_FLASH
public static final SwiffyConversionErrorReason UNKNOWN
public static SwiffyConversionErrorReason[] values()
for (SwiffyConversionErrorReason c : SwiffyConversionErrorReason.values()) System.out.println(c);
public static SwiffyConversionErrorReason 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 value()
public static SwiffyConversionErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.