public interface

OnContextChangedListener

com.google.android.gms.ads.mediation.OnContextChangedListener

Class Overview

An optional interface that mediation adapters can implement to be informed of context changes.

Currently only rewarded video ads provide context changed callbacks.

Summary

Public Methods
abstract void onContextChanged(Context newContext)
Called when the publisher updates an ad object's current context.

Public Methods

public abstract void onContextChanged (Context newContext)

Called when the publisher updates an ad object's current context.

Parameters
newContext Context: the new context