Class ViewabilityTrackerConfig

  • All Implemented Interfaces:

    
    public final class ViewabilityTrackerConfig
    
                        

    Configuration 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.

    • 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 CoroutineScope getCoroutineScope()
      final Integer getImpressionMinDuration()
      • Methods inherited from class java.lang.Object

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

      • ViewabilityTrackerConfig

        ViewabilityTrackerConfig(CoroutineScope coroutineScope, Integer impressionMinDuration)
        Parameters:
        coroutineScope - The CoroutineScope for managing viewability tracking coroutines
        impressionMinDuration - Minimum duration in milliseconds a view must be visible to count as an impression