public class VKApiApplicationContent extends VKAttachments.VKApiAttachment implements android.os.Parcelable
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<VKApiApplicationContent> |
CREATOR |
int |
id
ID of the application that posted on the wall;
|
java.lang.String |
name
Application name
|
VKPhotoSizes |
photo
Image URL for preview;
|
java.lang.String |
photo_130
Image URL for preview with maximum width in 130px
|
java.lang.String |
photo_604
Image URL for preview with maximum width in 130px
|
fields| Constructor and Description |
|---|
VKApiApplicationContent()
Creates empty ApplicationContent instance.
|
VKApiApplicationContent(org.json.JSONObject source) |
VKApiApplicationContent(android.os.Parcel in)
Creates an ApplicationContent instance from Parcel.
|
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
int |
getId()
Returns unique identifier of this object(usually it's value of JSON field "id").
|
java.lang.String |
getType() |
VKApiApplicationContent |
parse(org.json.JSONObject source)
Fills an ApplicationContent instance from JSONObject.
|
java.lang.CharSequence |
toAttachmentString()
Convert attachment to special string to attach it to the post, message or comment.
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getTag, getTag, setTag, setTagpublic int id
public java.lang.String name
public java.lang.String photo_130
public java.lang.String photo_604
public VKPhotoSizes photo
public static android.os.Parcelable.Creator<VKApiApplicationContent> CREATOR
public VKApiApplicationContent(org.json.JSONObject source)
public VKApiApplicationContent(android.os.Parcel in)
public VKApiApplicationContent()
public VKApiApplicationContent parse(org.json.JSONObject source)
parse in class VKApiModelsource - server API object.public java.lang.CharSequence toAttachmentString()
VKAttachments.VKApiAttachmenttoAttachmentString in class VKAttachments.VKApiAttachmentpublic java.lang.String getType()
getType in class VKAttachments.VKApiAttachmentpublic int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelablepublic int getId()
IdentifiablegetId in interface Identifiable