NativeAd.AdChoicesInfo

public 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 methods

abstract List<NativeAd.Image>

Returns a list of images for the attribution.

abstract CharSequence

Returns the text representing the attribution type.

Public constructors

AdChoicesInfo

public AdChoicesInfo()

Public methods

getImages

public abstract List<NativeAd.ImagegetImages()

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

public abstract CharSequence getText()

Returns the text representing the attribution type.