Summary: Ctors | Methods | Inherited Methods | [Expand All]
public final class

# CustomEventExtras

extends Object
implements NetworkExtras

java.lang.Object
↳ | com.google.android.gms.ads.mediation.customevent.CustomEventExtras

This class is deprecated.
This class will only work with implementations of the old `CustomEventAdapter` which has been deprecated in favor of `CustomEventBanner` and `CustomEventInterstitial`. To pass extras to custom events that implement `CustomEventBanner` or `CustomEventInterstitial`, call `addCustomEventExtrasBundle(Class, Bundle)` with the class of your `CustomEventBanner` or `CustomEventInterstitial` implementation and a `Bundle`.

## Class Overview

Extra parameters for mediation custom events. The extra parameters are stored using the label of the custom event.

## Summary

Public Constructors
| CustomEventExtras()

Public Methods
Object | getExtra(String label) Returns the extra parameter for the custom event with the provided label.
void | setExtra(String label, Object value) Sets an extra parameter for the custom event with the provided label.

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## Public Constructors

#### public CustomEventExtras ()

## Public Methods

#### public Object getExtra (String label)

Returns the extra parameter for the custom event with the provided label.

#### public void setExtra (String label, Object value)

Sets an extra parameter for the custom event with the provided label.