OnContextChangedListener

interface OnContextChangedListener


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 functions

Unit
onContextChanged(newContext: Context!)

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

Public functions

onContextChanged

fun onContextChanged(newContext: Context!): Unit

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

Parameters
newContext: Context!

the new context