com.yandex.mobile.ads.nativeads.template.appearance
Class NativeTemplateAppearance
java.lang.Object
com.yandex.mobile.ads.nativeads.template.appearance.NativeTemplateAppearance
- 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
Modifier and Type | Class and Description |
---|---|
static class | NativeTemplateAppearance.Builder
Builds a
NativeTemplateAppearance . |
Field Summary
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<NativeTemplateAppearance> | CREATOR |
Method Summary
Modifier and Type | Method and Description |
---|---|
int | describeContents() |
boolean | equals(java.lang.Object o) |
TextAppearance | getAgeAppearance()
Returns the age appearance specified for native template.
|
BannerAppearance | getBannerAppearance()
Returns the banner appearance specified for native template.
|
TextAppearance | getBodyAppearance()
Returns the body appearance specified for native template.
|
ButtonAppearance | getCallToActionAppearance()
Returns the callToAction appearance specified for native template.
|
TextAppearance | getDomainAppearance()
Returns the domain appearance specified for native template.
|
ImageAppearance | getFaviconAppearance()
Returns the favicon appearance specified for native template.
|
ImageAppearance | getImageAppearance()
Returns the image appearance specified for native template.
|
RatingAppearance | getRatingAppearance()
Returns the rating appearance specified for native template.
|
TextAppearance | getReviewCountAppearance()
Returns the review count appearance specified for native template.
|
TextAppearance | getSponsoredAppearance()
Returns the sponsored appearance specified for native template.
|
TextAppearance | getTitleAppearance()
Returns the title appearance specified for native template.
|
TextAppearance | getWarningAppearance()
Returns the warning appearance specified for native template.
|
int | hashCode() |
void | writeToParcel(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.
- 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 classjava.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceandroid.os.Parcelable
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceandroid.os.Parcelable