EspAdapter

Stay organized with collections Save and categorize content based on your preferences.
public interface EspAdapter

Mediation adapter for gathering Encrypted Signals for Publishers (ESP).

Public Method Summary

abstract void
collectSignals(Context context, EspCollectSignalsCallback callback)
abstract EspVersion
getSDKVersion()
Returns the version of the third party SDK built into the app.
abstract EspVersion
getVersion()
Returns the version of the ESP Adapter.
abstract void
initialize(Context context, EspInitializeCallback callback)
Called by Interactive Media Ads SDK to initialize a third party adapter and SDK.

Public Methods

public abstract void collectSignals (Context context, EspCollectSignalsCallback callback)

Parameters
context
callback

public abstract EspVersion getSDKVersion ()

Returns the version of the third party SDK built into the app.

public abstract EspVersion getVersion ()

Returns the version of the ESP Adapter.

public abstract void initialize (Context context, EspInitializeCallback callback)

Called by Interactive Media Ads SDK to initialize a third party adapter and SDK. This method is invoked shortly after the app initializes the advertising SDK, on a Worker thread.

Parameters
context The context the publisher provided to the Ads SDK.
callback A callback to be invoked when the adapter has finished initialization or failed to initialize.