Class 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.
    • 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