Class ViewableTypeVisibilityConfig
-
- All Implemented Interfaces:
public final class ViewableTypeVisibilityConfigConfiguration 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.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerminPercentageViewableprivate final DimensionminDimension
-
Constructor Summary
Constructors Constructor Description ViewableTypeVisibilityConfig(Integer minPercentageViewable, Dimension minDimension)
-
Method Summary
Modifier and Type Method Description final IntegergetMinPercentageViewable()The minimum percentage of the view that must be visible on screen for it to be considered viewable (0-100). final DimensiongetMinDimension()The minimum Dimension requirements (width and height) that the view must meet to be considered viewable. -
-
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).
-
getMinDimension
final Dimension getMinDimension()
The minimum Dimension requirements (width and height) that the view must meet to be considered viewable.
-
-
-
-