java.lang.Enum<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

Method Summary

All Methods
Static Methods
Concrete Methods
Modifier and TypeMethod and 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.

Methods inherited from class java.lang.Enum

compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

Methods inherited from class java.lang.Object

getClass, notify, notifyAll, wait, wait, wait

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 name
java.lang.NullPointerException - if the argument is null