NativeAd.AdChoicesInfo

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

This function is deprecated. Use com.google.android.gms.ads.nativead.NativeAd

Public properties

abstract 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 properties

images

abstract val imagesList<NativeAd.Image>?

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

text

abstract val textCharSequence?

Returns the text representing the attribution type.