public interface VungleNativeAd
Modifier and Type | Method and Description |
---|---|
void |
finishDisplayingAd()
Call this method to clean up a nativeflexview and stop playing an ad
|
android.view.View |
renderNativeView()
Returns a child view that will render the Ad,
this will have to be explicitly added to its parent View container
It will expand to fit the parent container.
|
void |
setAdVisibility(boolean isVisible)
Call to handle Activity and RecyclerView attached or detached state,
this will ensure proper video states of pause/resume on scrolling beyond visible surface
|
android.view.View renderNativeView()
setAdVisibility(boolean)
that will allow paused video ads to resume playing.void finishDisplayingAd()
void setAdVisibility(boolean isVisible)