PMNativeAd.Image

Document created by david.simerly on Nov 21, 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.nativead

Class PMNativeAd.Image

java.lang.Object
    com.pubmatic.sdk.nativead.PMNativeAd.Image

 

Enclosing class:
PMNativeAd

public static class PMNativeAd.Image
extends java.lang.Object

 

 

Field Summary

Modifier and TypeField and Description
java.lang.stringurl 

 

Constructor Summary

Constructor and Description
Image(java.lang.string url) 

 

Method Summary

Modifier and TypeMethod and Description
static PMNativeAd.ImagegetImage(org.json.JSONObject jsonImage) Parses the JSON and returns the object of , null otherwise.
java.lang.stringgetUrl() 

 

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll, tostring, wait, wait, wait

 

Field Detail


url

public java.lang.string url

 

Constructor Detail


Image

public Image(java.lang.string url)

 

Method Detail


getUrl

public java.lang.string getUrl()

 

getImage

public static PMNativeAd.Image getImage(org.json.JSONObject jsonImage)

 

Parses the JSON and returns the object of , null otherwise.

 

Parameters:
jsonImage -

 

Returns:
object of , else null if the parsing fails

 

Attachments

    Outcomes