public static abstract class

NativeAd.AdChoicesInfo

extends Object
java.lang.Object
   ↳ com.google.android.gms.ads.formats.NativeAd.AdChoicesInfo

Class Overview

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
NativeAd.AdChoicesInfo()
Public Methods
abstract List<NativeAd.Image> getImages()
Returns a list of images for the attribution.
abstract CharSequence getText()
Returns the text representing the attribution type.
[Expand]
Inherited Methods
From class java.lang.Object

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.

Returns
List<NativeAd.Image>

public abstract CharSequence getText ()

Returns the text representing the attribution type.

Returns
CharSequence