All Implemented Interfaces:
android.os.Parcelable


public final class NativeTemplateAppearance
extends java.lang.Object
implements android.os.Parcelable
NativeTemplateAppearance provides interfaces for native templates customization. NativeTemplateAppearance are created using NativeTemplateAppearance.Builder.

Nested Class Summary

Nested Classes
Modifier and TypeClass and Description
static class NativeTemplateAppearance.Builder

Nested classes/interfaces inherited from interface android.os.Parcelable

android.os.Parcelable.ClassLoaderCreator<T>, android.os.Parcelable.Creator<T>

Field Summary

Fields
Modifier and TypeField and Description
static android.os.Parcelable.Creator<NativeTemplateAppearance>CREATOR 

Fields inherited from interface android.os.Parcelable

CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE

Method Summary

All Methods
Instance Methods
Concrete Methods
Modifier and TypeMethod and Description
intdescribeContents() 
booleanequals(java.lang.Object o) 
TextAppearancegetAgeAppearance()
Returns the age appearance specified for native template.
BannerAppearancegetBannerAppearance()
Returns the banner appearance specified for native template.
TextAppearancegetBodyAppearance()
Returns the body appearance specified for native template.
ButtonAppearancegetCallToActionAppearance()
Returns the callToAction appearance specified for native template.
TextAppearancegetDomainAppearance()
Returns the domain appearance specified for native template.
ImageAppearancegetFaviconAppearance()
Returns the favicon appearance specified for native template.
ImageAppearancegetImageAppearance()
Returns the image appearance specified for native template.
RatingAppearancegetRatingAppearance()
Returns the rating appearance specified for native template.
TextAppearancegetReviewCountAppearance()
Returns the review count appearance specified for native template.
TextAppearancegetSponsoredAppearance()
Returns the sponsored appearance specified for native template.
TextAppearancegetTitleAppearance()
Returns the title appearance specified for native template.
TextAppearancegetWarningAppearance()
Returns the warning appearance specified for native template.
inthashCode() 
voidwriteToParcel(android.os.Parcel dest, int flags) 

Methods inherited from class java.lang.Object

getClass, notify, notifyAll, toString, wait, wait, wait

Field Detail

CREATOR

public static final android.os.Parcelable.Creator<NativeTemplateAppearance> CREATOR

Method Detail

getAgeAppearance

@NonNull
public TextAppearance getAgeAppearance()
Returns the age appearance specified for native template.
Returns:
age appearance.

getBannerAppearance

@NonNull
public BannerAppearance getBannerAppearance()
Returns the banner appearance specified for native template.
Returns:
banner appearance.

getBodyAppearance

@NonNull
public TextAppearance getBodyAppearance()
Returns the body appearance specified for native template.
Returns:
body appearance.

getCallToActionAppearance

@NonNull
public ButtonAppearance getCallToActionAppearance()
Returns the callToAction appearance specified for native template.
Returns:
callToAction appearance.

getDomainAppearance

@NonNull
public TextAppearance getDomainAppearance()
Returns the domain appearance specified for native template.
Returns:
domain appearance.

getFaviconAppearance

@NonNull
public ImageAppearance getFaviconAppearance()
Returns the favicon appearance specified for native template.
Returns:
favicon appearance.

getImageAppearance

@NonNull
public ImageAppearance getImageAppearance()
Returns the image appearance specified for native template.
Returns:
image appearance.

getRatingAppearance

@NonNull
public RatingAppearance getRatingAppearance()
Returns the rating appearance specified for native template.
Returns:
rating appearance.

getReviewCountAppearance

@NonNull
public TextAppearance getReviewCountAppearance()
Returns the review count appearance specified for native template.
Returns:
review count appearance.

getSponsoredAppearance

@NonNull
public TextAppearance getSponsoredAppearance()
Returns the sponsored appearance specified for native template.
Returns:
sponsored appearance.

getTitleAppearance

@NonNull
public TextAppearance getTitleAppearance()
Returns the title appearance specified for native template.
Returns:
title appearance.

getWarningAppearance

@NonNull
public TextAppearance getWarningAppearance()
Returns the warning appearance specified for native template.
Returns:
warning appearance.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

describeContents

public int describeContents()
Specified by:
describeContents in interface android.os.Parcelable

writeToParcel

public void writeToParcel(android.os.Parcel dest,
                          int flags)
Specified by:
writeToParcel in interface android.os.Parcelable