AdChoicesInfo

public final class AdChoicesInfo


The attribution information.

Summary

Public constructors

Public methods

final @NonNull List<@NonNull Image>

A list of images for the attribution.

final @NonNull String

The attribution text.

Public constructors

AdChoicesInfo

public AdChoicesInfo(@NonNull String text, @NonNull List<@NonNull Image> images)
Parameters
@NonNull String text

The attribution text.

@NonNull List<@NonNull Image> images

A list of images for the attribution. Possible entries in the list include an "AdChoices" logo or an "AdsByGoogle" logo. The returned list may also be empty.

Public methods

getImages

public final @NonNull List<@NonNull ImagegetImages()

A list of images for the attribution. Possible entries in the list include an "AdChoices" logo or an "AdsByGoogle" logo. The returned list may also be empty.

getText

public final @NonNull String getText()

The attribution text.