public enum AdType extends Enum<AdType>
| Modifier and Type | Method and Description |
|---|---|
static AdType |
getAdType(int value) |
int |
getValue() |
static AdType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdType BANNER
public static final AdType VIDEO
public static final AdType NATIVE
public static final AdType AUDIO
public static final AdType AUDIT
public static AdType[] values()
for (AdType c : AdType.values()) System.out.println(c);
public static AdType 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 static AdType getAdType(int value)
public int getValue()
Copyright © 2019. All rights reserved.