前往主控台

MediationNativeAdCallback

public interface MediationNativeAdCallback implements MediationAdCallback

Native ad callbacks for a mediation adapter to communicate back to the Google Mobile Ads SDK. Mediation adapters must send these callbacks so that they can be forwarded to the publisher.

Public Method Summary

abstract void
onAdLeftApplication()
Notifies the Google Mobile Ads SDK that the ad has caused the user to leave the application (for example, opened a browser).
abstract void
onVideoComplete()
Notifies the Google Mobile Ads SDK that a video ad has completed playing.
abstract void
onVideoMute()
Notifies the Google Mobile Ads SDK that a video ad is muted.
abstract void
onVideoPause()
Notifies the Google Mobile Ads SDK that a video ad is paused.
abstract void
onVideoPlay()
Notifies the Google Mobile Ads SDK that a video ad is playing.
abstract void
onVideoUnmute()
Notifies the Google Mobile Ads SDK that a video ad is unmuted.

Inherited Method Summary

Public Methods

public abstract void onAdLeftApplication ()

Notifies the Google Mobile Ads SDK that the ad has caused the user to leave the application (for example, opened a browser).

public abstract void onVideoComplete ()

Notifies the Google Mobile Ads SDK that a video ad has completed playing.

public abstract void onVideoMute ()

Notifies the Google Mobile Ads SDK that a video ad is muted.

public abstract void onVideoPause ()

Notifies the Google Mobile Ads SDK that a video ad is paused.

public abstract void onVideoPlay ()

Notifies the Google Mobile Ads SDK that a video ad is playing.

public abstract void onVideoUnmute ()

Notifies the Google Mobile Ads SDK that a video ad is unmuted.