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

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.