Page tree


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.string url

Constructor Summary

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

Method Summary

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

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


⇧ Top