public class
extends FrameLayout
android.widget.FrameLayout
↳co.adcel.nativeads.NativeAdView
View-class for display native ad
class | NativeAd | class that provides access to the native advertising data. |
interface | OnAdClickListener | interface of ad click listener. |
class | MediaLayout | class , Image/Video container. |
void | setOnAdClickListener(OnAdClickListener onAdClickListener) | Sets ad click listener |
void | setNativeAd(NativeAd nativeAd) | Sets current object of native ad |
NativeAd | getNativeAd() | Gets current object of native ad |
void | setTitleView(View titleView) | Sets titleView |
View | getTitleView() | Gets titleView |
void | setDescriptionTextView(View descriptionTextView) | Sets descriptionTextView |
View | getDescriptionTextView() | Gets descriptionTextView |
void | setIconView(View iconView) | Sets iconView |
View | getIconView() | Gets iconView |
void | setMediaLayout(MediaLayout mediaLayout) | Sets Image/Video container |
MediaLayout | getMediaLayout() | Gets Image/Video container |
void | setCtaTextView(View ctaTextView) | Sets ctaTextView |
View | getCtaTextView() | Gets ctaTextView |
void | setStarRaitingView(View starRatingView) | Sets starRatingView |
View | getStarRaitingView() | Gets starRatingView |
void setOnAdClickListener(OnAdClickListener onAdClickListener)
Sets ad click listener
onAdClickListener | implementation of an ad click listener |
void setNativeAd(NativeAd nativeAd)
Sets current object of native ad
nativeAd | object of native ad |
NativeAd getNativeAd()
current object of native ad
void setTitleView(View titleView)
Sets titleView
titleView | title view |
View getTitleView()
title view
void setDescriptionTextView(View descriptionTextView)
Sets descriptionTextView
descriptionTextView | description view |
View getDescriptionTextView()
description view
void setIconView(View iconView)
Sets iconView
iconView | icon view |
View getIconView()
icon view
void setMediaLayout(MediaLayout mediaLayout)
Sets Image/Video container
mediaLayout | Image/Video container |
MediaLayout getMediaLayout()
Image/Video container
void setCtaTextView(View ctaTextView)
Sets click to action view
ctaTextView | click to action view |
View getCtaTextView()
click to action view
void setStarRaitingView(View starRatingView)
Sets starRatingView
starRatingView | rating view |
View getStarRaitingView()
rating view