AdEvent

public interface AdEvent

Event to notify publisher that an event occurred with an Ad.

Nested Class Summary

interface AdEvent.AdEventListener Listener interface for ad events. 
enum AdEvent.AdEventType Types of events that can occur during ad playback. 

Public Method Summary

abstract Ad
getAd()
Returns the ad with which this event is associated.
abstract Map<String, String>
getAdData()

Returns a map containing any extra ad data for the event, if needed.

abstract AdEvent.AdEventType
getType()
Returns the type of event that occurred.

Public Methods

public abstract Ad getAd ()

Returns the ad with which this event is associated.

public abstract Map<String, String> getAdData ()

Returns a map containing any extra ad data for the event, if needed.

Note: different event types will fill this map with different contents. For information on how a particular event type uses the ad data, see the documentation for that event type, e.g. the documentation for the LOG event specifies its use of ad data.

public abstract AdEvent.AdEventType getType ()

Returns the type of event that occurred.

Send feedback about...

IMA DAI SDK for Android
Need help? Visit our support page.