Package com.startapp.sdk.adsbase
Enum Class StartAppAd.AdMode
- All Implemented Interfaces:
Serializable,Comparable<StartAppAd.AdMode>,Constable
- Enclosing class:
- StartAppAd
Represents different kinds of ad content
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents any kind of ad content, including the deprecated constants.Represents any kind of ad content, such as video, static image or interactive HTML ad.Represents only the Rewarded Video Ad.Represents only the video ad content. -
Method Summary
Modifier and TypeMethodDescriptionstatic StartAppAd.AdModeReturns the enum constant of this class with the specified name.static StartAppAd.AdMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTOMATIC
Represents any kind of ad content, including the deprecated constants. -
FULLPAGE
Represents any kind of ad content, such as video, static image or interactive HTML ad. -
REWARDED_VIDEO
Represents only the Rewarded Video Ad. -
VIDEO
Represents only the video ad content.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-