Class NativePromoBanner


  • public class NativePromoBanner
    extends NativeBanner
    A data class for Native Ad. Can contain cards, video or just image
    • Method Detail

      • newBanner

        @NonNull
        public static NativePromoBanner newBanner​(@NonNull
                                                  NativeAdBanner nativeAdBanner)
      • getCategory

        @Nullable
        public java.lang.String getCategory()
        Returns:
        ad category text for store-type ads
      • getSubCategory

        @Nullable
        public java.lang.String getSubCategory()
        Returns:
        ad subcategory text for store-type ads
      • getImage

        @Nullable
        public ImageData getImage()
        Returns:
        main image
        See Also:
        ImageData
      • hasVideo

        public boolean hasVideo()
        Returns:
        has this banner video or not
      • toString

        @NonNull
        public java.lang.String toString()
        Overrides:
        toString in class NativeBanner