EspCollectSignalsCallback

public interface EspCollectSignalsCallback

Defines callback methods for an implementation of EspAdapter to communicate success or failure of a call to EspAdapter.collectSignals(android.content.Context, com.google.ads.interactivemedia.v3.api.esp.EspCollectSignalsCallback)

Public Method Summary

abstract void
onFailure(Exception error)
To be invoked when signal collection fails.
abstract void
onSuccess(String signals)
To be invoked when the signals have been successfully collected.

Public Methods

public abstract void onFailure (Exception error)

To be invoked when signal collection fails.

Parameters
error Information about the nature of the failure.

public abstract void onSuccess (String signals)

To be invoked when the signals have been successfully collected.

Parameters
signals The encrypted string which should be included on ad requests.