Class NativeTemplateAppearance

com.yandex.mobile.ads.nativeads.template.appearance

java.lang.Object ⇽ NativeTemplateAppearance

public class NativeTemplateAppearance implements android.os.Parcelable

All Implemented Interfaces:
android.os.Parcelable

A class that defines the interface for customizing the standard ad text layout.

An object for customizing the standard ad layout is created using NativeTemplateAppearance.Builder.

Nested Classes

Methods

int describeContents()
boolean equals(final Object o)
TextAppearance getAgeAppearance()

Returns parameters of the layout of a text with age restrictions.

BannerAppearance getBannerAppearance()

Returns general parameters of ad design.

TextAppearance getBodyAppearance()

Returns the parameters for the layout of the main ad text.

ButtonAppearance getCallToActionAppearance()

Returns the parameters for the design of a call-to-action button.

TextAppearance getDomainAppearance()

Returns the parameters for the layout of a text with domain data.

ImageAppearance getFaviconAppearance()

Returns the favicon design parameters.

ImageAppearance getImageAppearance()

Returns the image design parameters.

RatingAppearance getRatingAppearance()

Returns the rating design parameters.

TextAppearance getReviewCountAppearance()

Returns the parameters for the layout of a text with the total number of app reviews.

TextAppearance getSponsoredAppearance()

Returns the parameters for the layout of a text with the ad network name.

TextAppearance getTitleAppearance()

Returns the parameters for the layout of a text with the ad title.

TextAppearance getWarningAppearance()

Returns the warning text layout parameters.

int hashCode()
void writeToParcel(android.os.Parcel dest, int flags)

Fields

Method Detail

describeContents

public int describeContents ()

equals

public boolean equals (final Object o)

getAgeAppearance

public TextAppearance getAgeAppearance ()

Returns parameters of the layout of a text with age restrictions.

Returns:

Parameters of the layout of a text with age restrictions.

getBannerAppearance

public BannerAppearance getBannerAppearance ()

Returns general parameters of ad design.

Returns:

General ad design parameters.

getBodyAppearance

public TextAppearance getBodyAppearance ()

Returns the parameters for the layout of the main ad text.

Returns:

Design parameters for the main ad text.

getCallToActionAppearance

public ButtonAppearance getCallToActionAppearance ()

Returns the parameters for the design of a call-to-action button.

Returns:

Parameters for the design of a call-to-action button.

getDomainAppearance

public TextAppearance getDomainAppearance ()

Returns the parameters for the layout of a text with domain data.

Returns:

Parameters for the layout of a text with domain data.

getFaviconAppearance

public ImageAppearance getFaviconAppearance ()

Returns the favicon design parameters.

Returns:

Favicon design parameters.

getImageAppearance

public ImageAppearance getImageAppearance ()

Returns the image design parameters.

Returns:

Image design parameters.

getRatingAppearance

public RatingAppearance getRatingAppearance ()

Returns the rating design parameters.

Returns:

Rating design parameters.

getReviewCountAppearance

public TextAppearance getReviewCountAppearance ()

Returns the parameters for the layout of a text with the total number of app reviews.

Returns:

Parameters for the layout of a text with the total number of app reviews.

getSponsoredAppearance

public TextAppearance getSponsoredAppearance ()

Returns the parameters for the layout of a text with the ad network name.

Returns:

Parameters for the layout of a text with the ad network name.

getTitleAppearance

public TextAppearance getTitleAppearance ()

Returns the parameters for the layout of a text with the ad title.

Returns:

Parameters for the layout of a text with the ad title.

getWarningAppearance

public TextAppearance getWarningAppearance ()

Returns the warning text layout parameters.

Returns:

Warning text layout parameters.

hashCode

public int hashCode ()

writeToParcel

public void writeToParcel (android.os.Parcel dest, int flags)