Package com.my.target.nativeads
Interface NativeAdViewBinder
public interface NativeAdViewBinder
-
Method Summary
Modifier and TypeMethodDescriptionandroid.view.ViewThe method must return the AdChoices view, when using DRAWING_MANUAL adChoices placement for nativeAdandroid.view.ViewReturns advertising View.android.view.ViewReturns View for age restrictions.android.view.ViewReturns the call-to-action Viewandroid.view.ViewReturns View for ad description.android.view.ViewReturns the disclaimer View.android.view.ViewReturns the View, which is used for:
Domain website for website ads
or:
Category of application for store adsReturns icon view.Returns MediaAdView.android.view.ViewGroupReturns root view of ad viewandroid.view.ViewReturns view with stars rating of an application.android.view.ViewReturns the main Ad title Viewandroid.view.ViewReturns the View of votes count.
-
Method Details
-
getAdvertisingView
android.view.View getAdvertisingView()Returns advertising View. Small View above advertising block- Returns:
- Advertising View
-
getAgeRestrictionView
android.view.View getAgeRestrictionView()Returns View for age restrictions.- Returns:
- AgeRestrictions View
-
getCtaView
android.view.View getCtaView()Returns the call-to-action View- Returns:
- CTA View
-
getDescriptionView
android.view.View getDescriptionView()Returns View for ad description.- Returns:
- description View
-
getDisclaimerView
android.view.View getDisclaimerView()Returns the disclaimer View.- Returns:
- Disclaimer View
-
getDomainOrCategoryView
android.view.View getDomainOrCategoryView()Returns the View, which is used for:
Domain website for website ads
or:
Category of application for store ads- Returns:
- Domain View
-
getIconView
IconAdView getIconView()Returns icon view. Icon saves proportions of an image.- Returns:
- icon view
-
getPromoCardRecyclerView
PromoCardRecyclerView getPromoCardRecyclerView()- Returns:
- PromoCardRecyclerView
- See Also:
-
getStarsRatingView
android.view.View getStarsRatingView()Returns view with stars rating of an application. It can be shown only with store type of an Ad.- Returns:
- view for stars rating
-
getTitleView
android.view.View getTitleView()Returns the main Ad title View- Returns:
- Ad View
-
getVotesView
android.view.View getVotesView()Returns the View of votes count. It can be shown only with store type of an Ad near stars rating- Returns:
- votes View
-
getMediaAdView
MediaAdView getMediaAdView()Returns MediaAdView.- Returns:
- media MediaAdView
-
getAdChoicesView
android.view.View getAdChoicesView()The method must return the AdChoices view, when using DRAWING_MANUAL adChoices placement for nativeAd- Returns:
- adChoices view
-
getRootAdView
android.view.ViewGroup getRootAdView()Returns root view of ad view- Returns:
- RadioGroup
-