PMInterstitialAd.InterstitialAdListener.RichMediaListener (Interface)

Document created by david.simerly on Nov 9, 2017Last modified by david.simerly on Apr 4, 2018
Version 2Show Document
  • View in full screen mode

PubMatic SDKs

AdRequest

NativeAdSize

PMAdRendered

PMAdRequest

PMAdRequest.AD_TYPE

PMAdRequest.AWT_OPTION

PMAdRequest.ETHNICITY

PMAdRequest.GENDER

PMAdRequest.HASHING_TECHNIQUE

PMAdRequest.OPERID

PMAdRequest.RS

PMAdSize

PMAdSize

PMBannerAdRequest

PMBannerAdView

PMBannerAdView.BannerAdViewDelegate

PMBannerAdView.BannerAdViewDelegate.
     ActivityListener

PMBannerAdView.BannerAdViewDelegate.
     FeatureSupportHandler

PMBannerAdView.BannerAdViewDelegate.
     InternalBrowserListener

PMBannerAdView.BannerAdViewDelegate.
     RequestListener

PMBannerAdView.BannerAdViewDelegate.
     RichMediaListener

PMBannerImpression

PMBid

PMError

PMImpression

PMInterstitialAd

PMInterstitialAd.InterstitialAdListener

PMInterstitialAd.InterstitialAdListener.
     ActivityListener

PMInterstitialAd.InterstitialAdListener.
     FeatureSupportHandler

PMInterstitialAd.InterstitialAdListener.
     InternalBrowserListener

PMInterstitialAd.InterstitialAdListener.
     RequestListener

➤ PMInterstitialAd.InterstitialAdListener.
     RichMediaListener

PMInterstitialAdRequest

PMLogger

PMLogger.LogListener

PMLogger.PMLogLevel

PMNativeAd

PMNativeAd.Image

PMNativeAd.NativeRequestListener

PMNativeAdRequest

PMNativeAssetRequest

PMNativeAssetResponse

PMNativeDataAssetRequest

PMNativeDataAssetResponse

PMNativeDataAssetTypes

PMNativeImageAssetRequest

PMNativeImageAssetResponse

PMNativeImageAssetTypes

PMNativeTitleAssetRequest

PMNativeTitleAssetResponse

PMPrefetchManager

PMPrefetchManager.PMPrefetchListener

PMPrefetchRequest

PubMaticSDK


PubMatic Android SDK Guide

com.pubmatic.sdk.banner

Interface PMInterstitialAd.InterstitialAdListener.

RichMediaListener

 

Enclosing interface:
PMInterstitialAd.InterstitialAdListener

public static interface PMInterstitialAd.InterstitialAdListener.
RichMediaListener

 

Method Summary

Modifier and TypeMethod and Description
voidPMInterstitialAd adView) Invoked when a rich media ad collapses from an expanded or resized state.
voidPMInterstitialAd adView, java.lang.string request) Invoked after a rich media (MRAID) event has occurred.
voidPMInterstitialAd adView) Invoked when a rich media ad expands to the full screen size.
BooleanPMInterstitialAd adView, java.lang.string url) Invoked when a rich media ad requests a video to be played.
voidPMInterstitialAd adView, android.graphics.Rect area) Invoked when a rich media ad is resized larger than it's default/configured size.

 

Method Detail


onExpanded

void onExpanded(PMInterstitialAd adView)

 

Invoked when a rich media ad expands to the full screen size.

 

Parameters:
adView -

 

onResized

void onResized(PMInterstitialAd adView, android.graphics.Rect area)

 

Invoked when a rich media ad is resized larger than it's default/configured size.

 

Parameters:
adView -
area - Area of the screen used to render the resized ad.

 

onCollapsed

void onCollapsed(PMInterstitialAd adView)

 

Invoked when a rich media ad collapses from an expanded or resized state.

 

Parameters:
adView -

 

onPlayVideo

Boolean onPlayVideo(PMInterstitialAd adView, java.lang.string url)

 

Invoked when a rich media ad requests a video to be played.

If false is returned the URL is handled like any other URL action and ActivityListener.onOpenUrl() will be invoked for further processing.

 

Parameters:
adView -
url -

 

Returns:
true to indicate the video playing has been handled by the application, false to allow the SDK to handle the URL.

 

onEventProcessed

void onEventProcessed(PMInterstitialAd adView, java.lang.string request)

 

Invoked after a rich media (MRAID) event has occurred. Since the event has already been handled applications need not implement any behavior. However, applications can use this to listen and act on handled rich media events with other behavior.

 

Parameters:
adView -
request -

 

Attachments

    Outcomes