Class ViewabilityTrackerConfig
-
- All Implemented Interfaces:
public final class ViewabilityTrackerConfigConfiguration data class for viewability tracking operations.
This class encapsulates the essential configuration parameters required for setting up and managing viewability tracking systems. It provides the coroutine context for asynchronous operations and defines the timing requirements for impression measurement.
The configuration ensures that viewability tracking operates within the correct coroutine scope for proper lifecycle management and uses appropriate timing thresholds that align with industry standards or custom requirements for impression measurement and billing purposes.
-
-
Field Summary
Fields Modifier and Type Field Description private final CoroutineScopecoroutineScopeprivate final IntegerimpressionMinDuration
-
Constructor Summary
Constructors Constructor Description ViewabilityTrackerConfig(CoroutineScope coroutineScope, Integer impressionMinDuration)
-
Method Summary
Modifier and Type Method Description final CoroutineScopegetCoroutineScope()final IntegergetImpressionMinDuration()-
-
Constructor Detail
-
ViewabilityTrackerConfig
ViewabilityTrackerConfig(CoroutineScope coroutineScope, Integer impressionMinDuration)
- Parameters:
coroutineScope- The CoroutineScope for managing viewability tracking coroutinesimpressionMinDuration- Minimum duration in milliseconds a view must be visible to count as an impression
-
-
Method Detail
-
getCoroutineScope
final CoroutineScope getCoroutineScope()
-
getImpressionMinDuration
final Integer getImpressionMinDuration()
-
-
-
-