Class InMobiNativeViewData.Builder

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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 InMobiNativeViewData build() Builds the InMobiNativeViewData object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.