- getAdData(int) - Method in class com.mopub.nativeads.MoPubStreamAdPlacer
-
Returns an ad data object, or null if there is no ad at this position.
- getAdjustedCount(int) - Method in class com.mopub.nativeads.MoPubStreamAdPlacer
-
Returns the number of items considering ads in the stream.
- getAdjustedPosition(int) - Method in class com.mopub.nativeads.MoPubAdAdapter
-
Returns the position of an item considering ads in the stream.
- getAdjustedPosition(int) - Method in class com.mopub.nativeads.MoPubRecyclerAdapter
-
Returns the position of an item considering ads in the stream.
- getAdjustedPosition(int) - Method in class com.mopub.nativeads.MoPubStreamAdPlacer
-
Returns the position of an item considering ads in the stream.
- getAdRendererCount() - Method in class com.mopub.nativeads.AdRendererRegistry
-
- getAdRendererForViewType(int) - Method in class com.mopub.nativeads.MoPubStreamAdPlacer
-
- getAdUnitId() - Method in class com.mopub.nativeads.NativeAd
-
- getAdView(View, ViewGroup, NativeAd, ViewBinder) - Method in class com.mopub.nativeads.AdapterHelper
-
Deprecated.
- getAdView(View, ViewGroup, NativeAd) - Method in class com.mopub.nativeads.AdapterHelper
-
Deprecated.
- getAdView(int, View, ViewGroup) - Method in class com.mopub.nativeads.MoPubStreamAdPlacer
-
Gets the ad at the given position, or null if there is no ad at the given position.
- getAdViewType(int) - Method in class com.mopub.nativeads.MoPubStreamAdPlacer
-
The ad view type for this position.
- getAdViewTypeCount() - Method in class com.mopub.nativeads.MoPubStreamAdPlacer
-
Returns the number of ad view types that can be placed by this ad placer.
- getBaseNativeAd() - Method in class com.mopub.nativeads.NativeAd
-
- getCallToAction() - Method in class com.mopub.nativeads.StaticNativeAd
-
Returns the Call To Action String (i.e.
- getClickDestinationUrl() - Method in class com.mopub.nativeads.StaticNativeAd
-
Returns the String url that the device will attempt to resolve when the ad is clicked.
- getCount() - Method in class com.mopub.nativeads.MoPubAdAdapter
-
Returns the number of items in your stream, including ads.
- getDesiredAssets() - Method in class com.mopub.nativeads.RequestParameters
-
- getExtra(String) - Method in class com.mopub.nativeads.StaticNativeAd
-
Given a particular String key, return the associated Object value from the ad's extras map.
- getExtras() - Method in class com.mopub.nativeads.StaticNativeAd
-
Returns a copy of the extras map, reflecting additional ad content not reflected in any
of the above hardcoded setters.
- getIconImageUrl() - Method in class com.mopub.nativeads.StaticNativeAd
-
Returns the String url corresponding to the ad's icon image.
- getImpressionMinPercentageViewed() - Method in interface com.mopub.nativeads.ImpressionInterface
-
- getImpressionMinPercentageViewed() - Method in class com.mopub.nativeads.StaticNativeAd
-
Returns the minimum viewable percentage of the ad that must be onscreen for it to be
considered visible.
- getImpressionMinTimeViewed() - Method in interface com.mopub.nativeads.ImpressionInterface
-
- getImpressionMinTimeViewed() - Method in class com.mopub.nativeads.StaticNativeAd
-
Returns the minimum amount of time (in milliseconds) the ad that must be onscreen before an
impression is recorded.
- getItem(int) - Method in class com.mopub.nativeads.MoPubAdAdapter
-
For ad items, returns an ad data object.
- getItemCount() - Method in class com.mopub.nativeads.MoPubRecyclerAdapter
-
- getItemId(int) - Method in class com.mopub.nativeads.MoPubAdAdapter
-
For ad items, returns an ID representing the ad.
- getItemId(int) - Method in class com.mopub.nativeads.MoPubRecyclerAdapter
-
Returns a stable negative item ID for ad items & calls getItemId on your original adapter for
non-ad items.
- getItemViewType(int) - Method in class com.mopub.nativeads.MoPubAdAdapter
-
For ad items, returns a number greater than or equal to the view type count for your
underlying adapter.
- getItemViewType(int) - Method in class com.mopub.nativeads.MoPubRecyclerAdapter
-
- getKeywords() - Method in class com.mopub.nativeads.RequestParameters
-
- getLength() - Method in class com.mopub.nativeads.IntInterval
-
- getLocation() - Method in class com.mopub.nativeads.RequestParameters
-
- getMainImageUrl() - Method in class com.mopub.nativeads.StaticNativeAd
-
Returns the String url corresponding to the ad's main image.
- getMoPubAdRenderer() - Method in class com.mopub.nativeads.NativeAd
-
- getOriginalCount(int) - Method in class com.mopub.nativeads.MoPubStreamAdPlacer
-
Returns the original number of items considering ads in the stream.
- getOriginalPosition(int) - Method in class com.mopub.nativeads.MoPubAdAdapter
-
Returns the original position of an item considering ads in the stream.
- getOriginalPosition(int) - Method in class com.mopub.nativeads.MoPubRecyclerAdapter
-
Returns the original position of an item considering ads in the stream.
- getOriginalPosition(int) - Method in class com.mopub.nativeads.MoPubStreamAdPlacer
-
Returns the original position of an item considering ads in the stream.
- getPrivacyInformationIconClickThroughUrl() - Method in class com.mopub.nativeads.StaticNativeAd
-
Returns the Privacy Information click through url.
- getPrivacyInformationIconImageUrl() - Method in class com.mopub.nativeads.StaticNativeAd
-
Returns the Privacy Information image url.
- getRendererForAd(BaseNativeAd) - Method in class com.mopub.nativeads.AdRendererRegistry
-
Returns the first registered ad renderer that supports rendering the native ad passed in.
- getRendererForViewType(int) - Method in class com.mopub.nativeads.AdRendererRegistry
-
Returns the renderer corresponding to view type passed in.
- getRendererIterable() - Method in class com.mopub.nativeads.AdRendererRegistry
-
- getStarRating() - Method in class com.mopub.nativeads.StaticNativeAd
-
For app install ads, this returns the associated star rating (on a 5 star scale) for the
advertised app.
- getStart() - Method in class com.mopub.nativeads.IntInterval
-
- getText() - Method in class com.mopub.nativeads.StaticNativeAd
-
Returns the String corresponding to the ad's body text.
- getTitle() - Method in class com.mopub.nativeads.StaticNativeAd
-
Returns the String corresponding to the ad's title.
- getView(int, View, ViewGroup) - Method in class com.mopub.nativeads.MoPubAdAdapter
-
For ad items, returns an ad View for the underlying position.
- getViewTypeCount() - Method in class com.mopub.nativeads.MoPubAdAdapter
-
Returns the view type count of your original adapter, plus the the number of possible view
types for ads.
- getViewTypeForAd(NativeAd) - Method in class com.mopub.nativeads.AdRendererRegistry
-
Returns the view type of the first registered ad renderer that supports rendering the
NativeAd passed in.
- serverPositioning() - Static method in class com.mopub.nativeads.MoPubNativeAdPositioning
-
- setAdLoadedListener(MoPubNativeAdLoadedListener) - Method in class com.mopub.nativeads.MoPubAdAdapter
-
Sets a listener that will be called after the SDK loads new ads from the server and places
them into your stream.
- setAdLoadedListener(MoPubNativeAdLoadedListener) - Method in class com.mopub.nativeads.MoPubRecyclerAdapter
-
Sets a listener that will be called after the SDK loads new ads from the server and places
them into your stream.
- setAdLoadedListener(MoPubNativeAdLoadedListener) - Method in class com.mopub.nativeads.MoPubStreamAdPlacer
-
Sets a listener that will be called after the SDK loads new ads from the server and places
them into your stream.
- setCallToAction(String) - Method in class com.mopub.nativeads.StaticNativeAd
-
- setClickDestinationUrl(String) - Method in class com.mopub.nativeads.StaticNativeAd
-
- setContentChangeStrategy(MoPubRecyclerAdapter.ContentChangeStrategy) - Method in class com.mopub.nativeads.MoPubRecyclerAdapter
-
Sets the strategy this adapter should use for moving ads when content is added or removed
from the wrapped original adapter.
- setHasStableIds(boolean) - Method in class com.mopub.nativeads.MoPubRecyclerAdapter
-
- setIconImageUrl(String) - Method in class com.mopub.nativeads.StaticNativeAd
-
- setImpressionMinTimeViewed(int) - Method in class com.mopub.nativeads.StaticNativeAd
-
- setImpressionRecorded() - Method in interface com.mopub.nativeads.ImpressionInterface
-
- setImpressionRecorded() - Method in class com.mopub.nativeads.StaticNativeAd
-
- setInstance(CustomEventNativeFactory) - Static method in class com.mopub.nativeads.factories.CustomEventNativeFactory
-
Deprecated.
- setItemCount(int) - Method in class com.mopub.nativeads.MoPubStreamAdPlacer
-
Sets the original number of items in your stream.
- setLength(int) - Method in class com.mopub.nativeads.IntInterval
-
- setLocalExtras(Map<String, Object>) - Method in class com.mopub.nativeads.MoPubNative
-
- setMainImageUrl(String) - Method in class com.mopub.nativeads.StaticNativeAd
-
- setMoPubNativeEventListener(NativeAd.MoPubNativeEventListener) - Method in class com.mopub.nativeads.NativeAd
-
- setNativeEventListener(BaseNativeAd.NativeEventListener) - Method in class com.mopub.nativeads.BaseNativeAd
-
- setOnClickListener(ListView, AdapterView.OnItemClickListener) - Method in class com.mopub.nativeads.MoPubAdAdapter
-
Sets an on click listener for the given ListView, automatically adjusting the listener
callback positions based on ads in the adapter.
- setOnClickListener(View, ClickInterface) - Method in class com.mopub.nativeads.NativeClickHandler
-
Sets the on click listener on all views in the native ad view hierarchy to invoke
ClickInterface.handleClick(View) when a view in the view hierarchy is clicked.
- setOnItemLongClickListener(ListView, AdapterView.OnItemLongClickListener) - Method in class com.mopub.nativeads.MoPubAdAdapter
-
Sets an on long click listener for the given ListView, automatically adjusting the listener
callback positions based on ads in the adapter.
- setOnItemSelectedListener(ListView, AdapterView.OnItemSelectedListener) - Method in class com.mopub.nativeads.MoPubAdAdapter
-
Sets an on item selected listener for the given ListView, automatically adjusting the
listener callback positions based on ads in the adapter.
- setPrivacyInformationIconClickThroughUrl(String) - Method in class com.mopub.nativeads.StaticNativeAd
-
- setPrivacyInformationIconImageUrl(String) - Method in class com.mopub.nativeads.StaticNativeAd
-
- setSelection(ListView, int) - Method in class com.mopub.nativeads.MoPubAdAdapter
-
Sets the currently selected item in the ListView, automatically adjusting the position based
on ads in the adapter.
- setStarRating(Double) - Method in class com.mopub.nativeads.StaticNativeAd
-
- setStart(int) - Method in class com.mopub.nativeads.IntInterval
-
- setText(String) - Method in class com.mopub.nativeads.StaticNativeAd
-
- setTitle(String) - Method in class com.mopub.nativeads.StaticNativeAd
-
- shiftedCount(int) - Method in class com.mopub.nativeads.AdapterHelper
-
Deprecated.
- shiftedPosition(int) - Method in class com.mopub.nativeads.AdapterHelper
-
Deprecated.
- smoothScrollToPosition(ListView, int) - Method in class com.mopub.nativeads.MoPubAdAdapter
-
Scrolls an item in the ListView, automatically adjusting the position based on ads in the
adapter.
- StaticNativeAd - Class in com.mopub.nativeads
-
This the base class for implementations of the static native ad format.
- StaticNativeAd() - Constructor for class com.mopub.nativeads.StaticNativeAd
-
- supports(BaseNativeAd) - Method in interface com.mopub.nativeads.MoPubAdRenderer
-
Determines if this renderer supports the type of native ad passed in.
- supports(BaseNativeAd) - Method in class com.mopub.nativeads.MoPubStaticNativeAdRenderer
-