Package com.inmobi.media.ads.nativeAd
Class InMobiNativeViewData.Builder
-
- All Implemented Interfaces:
public final class InMobiNativeViewData.BuilderThis class is used to build the InMobiNativeViewData object.
-
-
Constructor Summary
Constructors Constructor Description InMobiNativeViewData.Builder(ViewGroup parentView)
-
Method Summary
Modifier and Type Method Description final <Error class: unknown class>setTitleView(View titleView)Sets the title view of the native ad. final <Error class: unknown class>setDescriptionView(View descriptionView)Sets the description view of the native ad. final <Error class: unknown class>setIconView(ImageView iconView)Sets the icon view of the native ad. final <Error class: unknown class>setCTAView(View ctaView)Sets the CTA view of the native ad. final <Error class: unknown class>setRatingView(View ratingView)Sets the rating view of the native ad. final <Error class: unknown class>setAdvertiserView(View advertiserView)Sets the advertiser view of the native ad. final <Error class: unknown class>setExtraViews(List<View> extraViews)Sets the list of views in the native ad that would be tracked and clicked. final InMobiNativeViewDatabuild()Builds the InMobiNativeViewData object. -
-
Constructor Detail
-
InMobiNativeViewData.Builder
InMobiNativeViewData.Builder(ViewGroup parentView)
- Parameters:
parentView- The parent view of the native ad.
-
-
Method Detail
-
setTitleView
final <Error class: unknown class> setTitleView(View titleView)
Sets the title view of the native ad.
- Parameters:
titleView- The title view of the native ad.
-
setDescriptionView
final <Error class: unknown class> setDescriptionView(View descriptionView)
Sets the description view of the native ad.
- Parameters:
descriptionView- The description view of the native ad.
-
setIconView
final <Error class: unknown class> setIconView(ImageView iconView)
Sets the icon view of the native ad.
- Parameters:
iconView- The icon view of the native ad.
-
setCTAView
final <Error class: unknown class> setCTAView(View ctaView)
Sets the CTA view of the native ad.
- Parameters:
ctaView- The CTA view of the native ad.
-
setRatingView
final <Error class: unknown class> setRatingView(View ratingView)
Sets the rating view of the native ad.
- Parameters:
ratingView- The rating view of the native ad.
-
setAdvertiserView
final <Error class: unknown class> setAdvertiserView(View advertiserView)
Sets the advertiser view of the native ad.
- Parameters:
advertiserView- The advertiser view of the native ad.
-
setExtraViews
final <Error class: unknown class> setExtraViews(List<View> extraViews)
Sets the list of views in the native ad that would be tracked and clicked.
- Parameters:
extraViews- The list of extra views in the native ad.
-
build
final InMobiNativeViewData build()
Builds the InMobiNativeViewData object.
- Returns:
The InMobiNativeViewData object.
-
-
-
-