Class NativeTemplateAppearance
- java.lang.Object
-
- com.yandex.mobile.ads.nativeads.template.appearance.NativeTemplateAppearance
-
- All Implemented Interfaces:
android.os.Parcelable,com.monetization.ads.nativeads.template.appearance.CoreNativeTemplateAppearance
public final class NativeTemplateAppearance extends java.lang.Object implements android.os.Parcelable, com.monetization.ads.nativeads.template.appearance.CoreNativeTemplateAppearanceNativeTemplateAppearance provides interfaces for native templates customization. NativeTemplateAppearance are created usingNativeTemplateAppearance.Builder.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNativeTemplateAppearance.BuilderBuilds aNativeTemplateAppearance.
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<NativeTemplateAppearance>CREATOR
-
Constructor Summary
Constructors Modifier Constructor Description protectedNativeTemplateAppearance(android.os.Parcel in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
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.- Specified by:
getAgeAppearancein interfacecom.monetization.ads.nativeads.template.appearance.CoreNativeTemplateAppearance- Returns:
- age appearance.
-
getBannerAppearance
@NonNull public BannerAppearance getBannerAppearance()
Returns the banner appearance specified for native template.- Specified by:
getBannerAppearancein interfacecom.monetization.ads.nativeads.template.appearance.CoreNativeTemplateAppearance- Returns:
- banner appearance.
-
getBodyAppearance
@NonNull public TextAppearance getBodyAppearance()
Returns the body appearance specified for native template.- Specified by:
getBodyAppearancein interfacecom.monetization.ads.nativeads.template.appearance.CoreNativeTemplateAppearance- Returns:
- body appearance.
-
getCallToActionAppearance
@NonNull public ButtonAppearance getCallToActionAppearance()
Returns the callToAction appearance specified for native template.- Specified by:
getCallToActionAppearancein interfacecom.monetization.ads.nativeads.template.appearance.CoreNativeTemplateAppearance- Returns:
- callToAction appearance.
-
getDomainAppearance
@NonNull public TextAppearance getDomainAppearance()
Returns the domain appearance specified for native template.- Specified by:
getDomainAppearancein interfacecom.monetization.ads.nativeads.template.appearance.CoreNativeTemplateAppearance- Returns:
- domain appearance.
-
getFaviconAppearance
@NonNull public ImageAppearance getFaviconAppearance()
Returns the favicon appearance specified for native template.- Specified by:
getFaviconAppearancein interfacecom.monetization.ads.nativeads.template.appearance.CoreNativeTemplateAppearance- Returns:
- favicon appearance.
-
getImageAppearance
@NonNull public ImageAppearance getImageAppearance()
Returns the image appearance specified for native template.- Specified by:
getImageAppearancein interfacecom.monetization.ads.nativeads.template.appearance.CoreNativeTemplateAppearance- Returns:
- image appearance.
-
getRatingAppearance
@NonNull public RatingAppearance getRatingAppearance()
Returns the rating appearance specified for native template.- Specified by:
getRatingAppearancein interfacecom.monetization.ads.nativeads.template.appearance.CoreNativeTemplateAppearance- Returns:
- rating appearance.
-
getReviewCountAppearance
@NonNull public TextAppearance getReviewCountAppearance()
Returns the review count appearance specified for native template.- Specified by:
getReviewCountAppearancein interfacecom.monetization.ads.nativeads.template.appearance.CoreNativeTemplateAppearance- Returns:
- review count appearance.
-
getSponsoredAppearance
@NonNull public TextAppearance getSponsoredAppearance()
Returns the sponsored appearance specified for native template.- Specified by:
getSponsoredAppearancein interfacecom.monetization.ads.nativeads.template.appearance.CoreNativeTemplateAppearance- Returns:
- sponsored appearance.
-
getTitleAppearance
@NonNull public TextAppearance getTitleAppearance()
Returns the title appearance specified for native template.- Specified by:
getTitleAppearancein interfacecom.monetization.ads.nativeads.template.appearance.CoreNativeTemplateAppearance- Returns:
- title appearance.
-
getWarningAppearance
@NonNull public TextAppearance getWarningAppearance()
Returns the warning appearance specified for native template.- Specified by:
getWarningAppearancein interfacecom.monetization.ads.nativeads.template.appearance.CoreNativeTemplateAppearance- Returns:
- warning appearance.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
describeContents
public int describeContents()
- Specified by:
describeContentsin interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)- Specified by:
writeToParcelin interfaceandroid.os.Parcelable
-
-