Class ViewableTypeVisibilityConfig

  • All Implemented Interfaces:

    
    public final class ViewableTypeVisibilityConfig
    
                        

    Configuration class for viewability tracking that defines the criteria for determining when a view should be considered visible.

    This class encapsulates the minimum requirements for a view to be considered visible, including both percentage-based and dimension-based thresholds. These criteria are used by visibility tracking systems to determine whether an ad or content view meets the necessary visibility standards.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Integer getMinPercentageViewable() The minimum percentage of the view that must be visible on screen for it to be considered viewable (0-100).
      final Dimension getMinDimension() The minimum Dimension requirements (width and height) that the view must meet to be considered viewable.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ViewableTypeVisibilityConfig

        ViewableTypeVisibilityConfig(Integer minPercentageViewable, Dimension minDimension)
    • Method Detail

      • getMinPercentageViewable

         final Integer getMinPercentageViewable()

        The minimum percentage of the view that must be visible on screen for it to be considered viewable (0-100).