| Enum Constant and Description |
|---|
FIFTEEN_SECOND |
SIXTY_SECOND |
TEN_SECOND |
THIRTY_SECOND |
TWENTY_SECOND |
| Modifier and Type | Field and Description |
|---|---|
int |
length |
| Modifier and Type | Method and Description |
|---|---|
static AdLength |
matchLength(int length)
Returns the AdLength matching the length parameter
|
static AdLength |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AdLength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdLength TEN_SECOND
public static final AdLength FIFTEEN_SECOND
public static final AdLength TWENTY_SECOND
public static final AdLength THIRTY_SECOND
public static final AdLength SIXTY_SECOND
public static AdLength[] values()
for (AdLength c : AdLength.values()) System.out.println(c);
public static AdLength valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static AdLength matchLength(int length)
length - Length of ad