Interface OpenMeasurementTracker.Listener

Enclosing interface:
OpenMeasurementTracker

public static interface OpenMeasurementTracker.Listener
Listener interface for OMID tracker events.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Callback triggered when a media event is consumed.
    void
    Callback invoked when an ad session started.
    void
    Callback invoked when an ad session completed.
  • Method Details

    • onEvent

      void onEvent(AdEventType event)
      Callback triggered when a media event is consumed.
      Parameters:
      event - The event sent to OMID.
    • onStartTracking

      void onStartTracking()
      Callback invoked when an ad session started.
    • onStoppedTracking

      void onStoppedTracking()
      Callback invoked when an ad session completed.