Package com.ooyala.pulse
Enum FriendlyObstruction.FriendlyObstructionPurpose
- java.lang.Object
-
- java.lang.Enum<FriendlyObstruction.FriendlyObstructionPurpose>
-
- com.ooyala.pulse.FriendlyObstruction.FriendlyObstructionPurpose
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FriendlyObstruction.FriendlyObstructionPurpose>
- Enclosing class:
- FriendlyObstruction
public static enum FriendlyObstruction.FriendlyObstructionPurpose extends java.lang.Enum<FriendlyObstruction.FriendlyObstructionPurpose>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSE_AD
Views relating to closing an ad (e.g.NOT_VISIBLE
Views that are not visibly obstructing the ad but may seem so due to technical limitationsOTHER
Views that are obstructing for any purpose not already described.VIDEO_CONTROLS
Views related to interacting with a video (e.g.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FriendlyObstruction.FriendlyObstructionPurpose
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FriendlyObstruction.FriendlyObstructionPurpose[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VIDEO_CONTROLS
public static final FriendlyObstruction.FriendlyObstructionPurpose VIDEO_CONTROLS
Views related to interacting with a video (e.g. play/pause buttons)
-
CLOSE_AD
public static final FriendlyObstruction.FriendlyObstructionPurpose CLOSE_AD
Views relating to closing an ad (e.g. close button
-
NOT_VISIBLE
public static final FriendlyObstruction.FriendlyObstructionPurpose NOT_VISIBLE
Views that are not visibly obstructing the ad but may seem so due to technical limitations
-
OTHER
public static final FriendlyObstruction.FriendlyObstructionPurpose OTHER
Views that are obstructing for any purpose not already described.
-
-
Method Detail
-
values
public static FriendlyObstruction.FriendlyObstructionPurpose[] 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 (FriendlyObstruction.FriendlyObstructionPurpose c : FriendlyObstruction.FriendlyObstructionPurpose.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FriendlyObstruction.FriendlyObstructionPurpose 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 namejava.lang.NullPointerException
- if the argument is null
-
-