public class VKAttachments extends VKList<VKAttachments.VKApiAttachment> implements android.os.Parcelable
| Modifier and Type | Class and Description |
|---|---|
static class |
VKAttachments.VKApiAttachment
An abstract class for all attachments
|
VKList.Parser<D>, VKList.ReflectParser<D extends VKApiModel>| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<VKAttachments> |
CREATOR |
static java.lang.String |
TYPE_ALBUM
Attachment is a PhotoAlbum
|
static java.lang.String |
TYPE_APP
Attachment is an application content
|
static java.lang.String |
TYPE_AUDIO
Attachment is an audio.
|
static java.lang.String |
TYPE_DOC
Attachment is a document.
|
static java.lang.String |
TYPE_LINK
Attachment is a link
|
static java.lang.String |
TYPE_NOTE
Attachment is a note
|
static java.lang.String |
TYPE_PHOTO
Attachment is a photo.
|
static java.lang.String |
TYPE_POLL
Attachment is a poll
|
static java.lang.String |
TYPE_POST
Attachment is a wall post.
|
static java.lang.String |
TYPE_POSTED_PHOTO
Attachment is a posted photo.
|
static java.lang.String |
TYPE_VIDEO
Attachment is a video.
|
static java.lang.String |
TYPE_WIKI_PAGE
Attachment is a WikiPage
|
fields| Constructor and Description |
|---|
VKAttachments() |
VKAttachments(org.json.JSONArray from) |
VKAttachments(org.json.JSONObject from) |
VKAttachments(java.util.List<? extends VKAttachments.VKApiAttachment> data) |
VKAttachments(android.os.Parcel parcel) |
VKAttachments(VKAttachments.VKApiAttachment... data) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
void |
fill(org.json.JSONArray from) |
void |
fill(org.json.JSONObject from) |
java.lang.String |
toAttachmentsString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
add, add, addAfter, addAll, addAll, addBefore, clear, contains, containsAll, equals, fill, fill, fill, fill, get, getById, getCount, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, parse, remove, remove, removeAll, retainAll, search, set, size, subList, toArray, toArraygetTag, getTag, setTag, setTagpublic static final java.lang.String TYPE_PHOTO
VKApiPhoto,
Constant Field Valuespublic static final java.lang.String TYPE_VIDEO
VKApiVideo,
Constant Field Valuespublic static final java.lang.String TYPE_AUDIO
VKApiAudio,
Constant Field Valuespublic static final java.lang.String TYPE_DOC
VKApiDocument,
Constant Field Valuespublic static final java.lang.String TYPE_POST
VKApiPost,
Constant Field Valuespublic static final java.lang.String TYPE_POSTED_PHOTO
VKApiPostedPhoto,
Constant Field Valuespublic static final java.lang.String TYPE_LINK
VKApiLink,
Constant Field Valuespublic static final java.lang.String TYPE_NOTE
VKApiNote,
Constant Field Valuespublic static final java.lang.String TYPE_APP
VKApiApplicationContent,
Constant Field Valuespublic static final java.lang.String TYPE_POLL
VKApiPoll,
Constant Field Valuespublic static final java.lang.String TYPE_WIKI_PAGE
VKApiWikiPage,
Constant Field Valuespublic static final java.lang.String TYPE_ALBUM
VKApiPhotoAlbum,
Constant Field Valuespublic static android.os.Parcelable.Creator<VKAttachments> CREATOR
public VKAttachments()
public VKAttachments(VKAttachments.VKApiAttachment... data)
public VKAttachments(java.util.List<? extends VKAttachments.VKApiAttachment> data)
public VKAttachments(org.json.JSONObject from)
public VKAttachments(org.json.JSONArray from)
public VKAttachments(android.os.Parcel parcel)
public void fill(org.json.JSONObject from)
public void fill(org.json.JSONArray from)
public java.lang.String toAttachmentsString()
public int describeContents()
describeContents in interface android.os.ParcelabledescribeContents in class VKList<VKAttachments.VKApiAttachment>public void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.ParcelablewriteToParcel in class VKList<VKAttachments.VKApiAttachment>