Enum InstreamAdPlayerError.Reason
- java.lang.Object
-
- java.lang.Enum<InstreamAdPlayerError.Reason>
-
- com.yandex.mobile.ads.instream.player.ad.error.InstreamAdPlayerError.Reason
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<InstreamAdPlayerError.Reason>
- Enclosing class:
- InstreamAdPlayerError
public static enum InstreamAdPlayerError.Reason extends java.lang.Enum<InstreamAdPlayerError.Reason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILE_NOT_FOUNDINVALID_FILENETWORK_UNAVAILABLETIMED_OUTUNKNOWNUNSUPPORTED_CODECUNSUPPORTED_FILE_FORMAT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InstreamAdPlayerError.ReasonvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static InstreamAdPlayerError.Reason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID_FILE
public static final InstreamAdPlayerError.Reason INVALID_FILE
-
FILE_NOT_FOUND
public static final InstreamAdPlayerError.Reason FILE_NOT_FOUND
-
TIMED_OUT
public static final InstreamAdPlayerError.Reason TIMED_OUT
-
NETWORK_UNAVAILABLE
public static final InstreamAdPlayerError.Reason NETWORK_UNAVAILABLE
-
UNSUPPORTED_FILE_FORMAT
public static final InstreamAdPlayerError.Reason UNSUPPORTED_FILE_FORMAT
-
UNSUPPORTED_CODEC
public static final InstreamAdPlayerError.Reason UNSUPPORTED_CODEC
-
UNKNOWN
public static final InstreamAdPlayerError.Reason UNKNOWN
-
-
Method Detail
-
values
public static InstreamAdPlayerError.Reason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InstreamAdPlayerError.Reason c : InstreamAdPlayerError.Reason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstreamAdPlayerError.Reason valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-