Package com.iab.omid.library.adsession
Enum Class FriendlyObstructionPurpose
java.lang.Object
java.lang.Enum<FriendlyObstructionPurpose>
com.iab.omid.library.adsession.FriendlyObstructionPurpose
- All Implemented Interfaces:
Serializable
,Comparable<FriendlyObstructionPurpose>
,Constable
List of allowed friendly obstruction purposes.
Created by Noam Schaap on 03/21/2019.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe friendly obstruction relates to closing an ad (such as a close button).The friendly obstruction is not visibly obstructing the ad but may seem so due to technical limitations.The friendly obstruction is obstructing for any purpose not already described.The friendly obstruction relates to interacting with a video (such as play/pause buttons). -
Method Summary
Modifier and TypeMethodDescriptionstatic FriendlyObstructionPurpose
Returns the enum constant of this class with the specified name.static FriendlyObstructionPurpose[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VIDEO_CONTROLS
The friendly obstruction relates to interacting with a video (such as play/pause buttons). -
CLOSE_AD
The friendly obstruction relates to closing an ad (such as a close button). -
NOT_VISIBLE
The friendly obstruction is not visibly obstructing the ad but may seem so due to technical limitations. -
OTHER
The friendly obstruction is obstructing for any purpose not already described.
-
-
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
-