public class MoPubCustomEventNative extends CustomEventNative
CustomEventNative.CustomEventNativeListener
Constructor and Description |
---|
MoPubCustomEventNative() |
Modifier and Type | Method and Description |
---|---|
protected void |
loadNativeAd(android.app.Activity activity,
CustomEventNative.CustomEventNativeListener customEventNativeListener,
java.util.Map<java.lang.String,java.lang.Object> localExtras,
java.util.Map<java.lang.String,java.lang.String> serverExtras)
When the MoPub SDK receives a response indicating it should load a custom event, it will send
this message to your custom event class.
|
protected void loadNativeAd(android.app.Activity activity, CustomEventNative.CustomEventNativeListener customEventNativeListener, java.util.Map<java.lang.String,java.lang.Object> localExtras, java.util.Map<java.lang.String,java.lang.String> serverExtras)
CustomEventNative
CustomEventNative.CustomEventNativeListener
Object of certain lifecycle events.loadNativeAd
in class CustomEventNative
activity
- The activity.customEventNativeListener
- An Object that must be notified of certain lifecycle
events.localExtras
- A Map containing additional custom data that is set within your
application by calling MoPubNative.setLocalExtras(Map)
. Note that the
localExtras Map is a copy of the Map supplied to MoPubNative.setLocalExtras(Map)
.serverExtras
- A Map containing additional custom data configurable on the MoPub website
that you want to associate with a given custom event request. This data may be used to pass
dynamic information, such as publisher IDs, without changes in application code.