{% setvar book_path %}/admob/android/_book.yaml{% endsetvar %} {% include "/admob/android/reference/_dackka-meta-tags.html" %}

CustomEventExtras

{% setvar page_path %}com/google/android/gms/ads/mediation/customevent/CustomEventExtras.html{% endsetvar %} {% setvar doc_root_path %}/admob/android/reference{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "android/_kotlin_switcher2.md" %}

class CustomEventExtras


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

Summary

Public constructors

Public functions

Any?
getExtra(label: String!)

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

Unit
setExtra(label: String!, value: Any!)

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

Public constructors

CustomEventExtras

CustomEventExtras()

Public functions

getExtra

fun getExtra(label: String!): Any?

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

setExtra

fun setExtra(label: String!, value: Any!): Unit

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