public class VKApiCommunity extends VKApiOwner implements android.os.Parcelable, Identifiable
| Modifier and Type | Class and Description |
|---|---|
static class |
VKApiCommunity.AdminLevel
Access level to manage community.
|
static class |
VKApiCommunity.Status
Privacy status of the group.
|
static class |
VKApiCommunity.Type
Types of communities.
|
| Modifier and Type | Field and Description |
|---|---|
int |
admin_level
Rights of the user
|
static android.os.Parcelable.Creator<VKApiCommunity> |
CREATOR |
boolean |
is_admin
Whether a user is the community manager
|
int |
is_closed
Whether the community is closed
|
boolean |
is_member
Whether a user is a community member
|
java.lang.String |
name
Community name
|
VKPhotoSizes |
photo
|
java.lang.String |
photo_100
URL of the 100px-wide community logo.
|
java.lang.String |
photo_200
URL of the 200px-wide community logo.
|
java.lang.String |
photo_50
URL of the 50px-wide community logo.
|
java.lang.String |
screen_name
Screen name of the community page (e.g.
|
int |
type
Community type
|
idfields| Constructor and Description |
|---|
VKApiCommunity()
Creates empty Community instance.
|
VKApiCommunity(org.json.JSONObject from) |
VKApiCommunity(android.os.Parcel in)
Creates a community object from Parcel
|
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
VKApiCommunity |
parse(org.json.JSONObject from)
Fills a community object from JSONObject
|
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getIdgetTag, getTag, setTag, setTagclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIdpublic java.lang.String name
public java.lang.String screen_name
public int is_closed
VKApiCommunity.Statuspublic boolean is_admin
public int admin_level
VKApiCommunity.AdminLevelpublic boolean is_member
public int type
VKApiCommunity.Typepublic java.lang.String photo_50
public java.lang.String photo_100
public java.lang.String photo_200
public VKPhotoSizes photo
public static android.os.Parcelable.Creator<VKApiCommunity> CREATOR
public VKApiCommunity(org.json.JSONObject from)
public VKApiCommunity(android.os.Parcel in)
public VKApiCommunity()
public VKApiCommunity parse(org.json.JSONObject from)
parse in class VKApiOwnerfrom - JSONObject describes community object according with VK Docs.public java.lang.String toString()
toString in class java.lang.Objectpublic int describeContents()
describeContents in interface android.os.ParcelabledescribeContents in class VKApiOwnerpublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.ParcelablewriteToParcel in class VKApiOwner