Image creative.
Hereda de: | Object |
Paquete: | ads |
NativeAd.Image(String, int, int)
public NativeAd.Image(String url, int width, int height)
Parámetro | Descripción |
---|---|
url | |
width | |
height |
fromJSONObject(JSONObject)
Parses an Image from the given JSON object.
public static Image fromJSONObject(JSONObject dataObject)
Parámetro | Descripción |
---|---|
dataObject | The json object |
getUrl()
Gets the url of the image.
public String getUrl()
getWidth()
Gets the width of the image.
public int getWidth()
getHeight()
Gets the height of the image.
public int getHeight()