public static class NativeAdBase.Image
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static NativeAdBase.Image |
fromJSONObject(JSONObject dataObject)
Parses an Image from the given JSON object.
|
int |
getHeight()
Gets the height of the image.
|
java.lang.String |
getUrl()
Gets the url of the image.
|
int |
getWidth()
Gets the width of the image.
|
public int getWidth()
public int getHeight()
public java.lang.String getUrl()
public static NativeAdBase.Image fromJSONObject(JSONObject dataObject)
dataObject
- the json object