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 limitations
      OTHER
      Views that are obstructing for any purpose not already described.
      VIDEO_CONTROLS
      Views related to interacting with a video (e.g.
    • 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 name
        java.lang.NullPointerException - if the argument is null