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>?

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

abstract CharSequence?

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

Public constructors

AdChoicesInfo

AdChoicesInfo()

Public properties

images

abstract val images: List<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 text: CharSequence?

Returns the text representing the attribution type.