Class ViewabilityParams
-
- All Implemented Interfaces:
public final class ViewabilityParamsInMobi-specific viewability parameters that define impression tracking criteria.
This class contains detailed parameters for determining when an ad impression should be tracked, including visibility percentage, time duration, pixel requirements, and frame-based tracking for advanced viewability measurement.
-
-
Constructor Summary
Constructors Constructor Description ViewabilityParams()
-
Method Summary
Modifier and Type Method Description final BytegetType()The impression type from ImpressionType (loaded, viewable, or pixel-based). final StringgetView()The minimum percentage of the ad that must be visible (as string, may include "track_" prefix). final StringgetTime()The minimum time duration the ad must be visible (as string, may include "track_" prefix). final StringgetPixel()The minimum pixel count requirement for visibility (as string, may include "track_" prefix). final IntArraygetFrame()Array of four integers defining viewable frame boundaries x, y, width, height. -
-
Method Detail
-
getType
final Byte getType()
The impression type from ImpressionType (loaded, viewable, or pixel-based).
-
getView
final String getView()
The minimum percentage of the ad that must be visible (as string, may include "track_" prefix).
-
getTime
final String getTime()
The minimum time duration the ad must be visible (as string, may include "track_" prefix).
-
getPixel
final String getPixel()
The minimum pixel count requirement for visibility (as string, may include "track_" prefix).
-
-
-
-