Class NativeBeaconProcessor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Unit onAdLoaded() Fires the ad loaded beacons when the ad has been successfully loaded.
      final Unit registerViewForTracking() Fires the Start-Tracking beacon when the publisher has called startTracking function.
      final Unit impressionShown() Fires the impression shown beacons when the ad impression is displayed.
      final Unit impressionOccurred() Fires the impression beacons when an impression occurs.
      final Unit onMRC50EventOccurred() Fires the MRC 50% viewability beacons when the MRC 50% event occurs.
      final Unit onMediaEvent(MediaEvent mediaEvent) Handles media events and updates the macro data accordingly.
      final Unit onNativeAssetClick(Short assetType, List<String> trackers) Fires the click event beacons when a native asset is clicked.
      • Methods inherited from class java.lang.Object

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

      • onAdLoaded

         final Unit onAdLoaded()

        Fires the ad loaded beacons when the ad has been successfully loaded.

      • registerViewForTracking

         final Unit registerViewForTracking()

        Fires the Start-Tracking beacon when the publisher has called startTracking function.

      • impressionShown

         final Unit impressionShown()

        Fires the impression shown beacons when the ad impression is displayed.

      • onMRC50EventOccurred

         final Unit onMRC50EventOccurred()

        Fires the MRC 50% viewability beacons when the MRC 50% event occurs.

      • onMediaEvent

         final Unit onMediaEvent(MediaEvent mediaEvent)

        Handles media events and updates the macro data accordingly.

        This method is called when a media event occurs, such as video loaded or video progress.

        Parameters:
        mediaEvent - The MediaEvent that occurred.
      • onNativeAssetClick

         final Unit onNativeAssetClick(Short assetType, List<String> trackers)

        Fires the click event beacons when a native asset is clicked.

        Parameters:
        assetType - The NativeAssetType of the clicked asset.
        trackers - The list of trackers associated with the click event.