Google is committed to advancing racial equity for Black communities. See how.

NativeAd.AdChoicesInfo

public static abstract class NativeAd.AdChoicesInfo extends Object

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

Public Constructor Summary

Public Method Summary

abstract List<NativeAd.Image>
getImages()
Returns a list of images for the attribution.
abstract CharSequence
getText()
Returns the text representing the attribution type.

Inherited Method Summary

Public Constructors

public NativeAd.AdChoicesInfo ()

Public Methods

public abstract List<NativeAd.Image> getImages ()

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.

public abstract CharSequence getText ()

Returns the text representing the attribution type.