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

NativeAd.AdChoicesInfo

{% setvar page_path %}com/google/android/gms/ads/formats/NativeAd.AdChoicesInfo.html{% endsetvar %} {% setvar doc_root_path %}/admob/android/reference{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "android/_kotlin_switcher2.md" %}

abstract class NativeAd.AdChoicesInfo


An object used to represent the attribution info. It contains the icons for the attribution, and a text to represent the attribution type.

Summary

Public constructors

Public functions

abstract (Mutable)List<NativeAd.Image!>!

Returns a list of images for the attribution.

abstract CharSequence!

Returns the text representing the attribution type.

Public constructors

AdChoicesInfo

AdChoicesInfo()

Public functions

getImages

abstract fun getImages(): (Mutable)List<NativeAd.Image!>!

Returns a list of images for the attribution. Possible entries in the list include a "AdChoices" logo or a "AdsByGoogle" logo. The returned list may also be empty.

getText

abstract fun getText(): CharSequence!

Returns the text representing the attribution type.