public class ContentObject extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ContentObject.Builder
Class for building content objects.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
Integer |
getImageHeight() |
String |
getImageUrl() |
Integer |
getImageWidth() |
LinkObject |
getLink() |
String |
getTitle() |
static ContentObject.Builder |
newBuilder(String title,
String imageUrl,
LinkObject link) |
org.json.JSONObject |
toJSONObject() |
public String getDescription()
public Integer getImageHeight()
public String getImageUrl()
public Integer getImageWidth()
public LinkObject getLink()
public String getTitle()
public static ContentObject.Builder newBuilder(String title, String imageUrl, LinkObject link)
public org.json.JSONObject toJSONObject() throws org.json.JSONException
org.json.JSONException