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