public class VkProfile extends OAuth20Profile
This class is the user profile for Vk with appropriate getters.
It is returned by the VkClient.
| Method : | From the JSON profile response : |
|---|---|
The attributes of the
CommonProfile |
|
| String getEmail() | empty string |
| String getFirstName() | the first_name field |
| String getFamilyName() | the last_name field |
| String getDisplayName() | the first_name and last_name fields |
| String getUsername() | the domain attribute or id |
| Gender getGender() | Gender.UNSPECIFIED |
| Locale getLocale() | null |
| String getPictureUrl() | the photo_max attribute |
| String getProfileUrl() | url to vk.com user page |
| String getLocation() | null |
| More specific attributes | |
| String getLastName() | the last_name attribute |
| String getDomain() | the domain attribute |
| String getBirhtDate() | the bdate attribute |
| String getFoto50() | the photo_50 attribute |
| ... | |
VkClient,
Serialized FormUSERNAMElogger, SEPARATOR| Constructor and Description |
|---|
VkProfile() |
| Modifier and Type | Method and Description |
|---|---|
protected AttributesDefinition |
getAttributesDefinition() |
Date |
getBirthDate() |
Integer |
getCommonCount() |
String |
getDisplayName() |
String |
getDomain() |
String |
getEmail() |
String |
getFamilyName() |
String |
getFirstName() |
String |
getFoto100() |
String |
getFoto200() |
String |
getFoto200Orig() |
String |
getFoto400Orig() |
String |
getFoto50() |
String |
getFotoMax() |
String |
getFotoMaxOrig() |
Gender |
getGender() |
String |
getHomePhone() |
String |
getLastName() |
Locale |
getLocale() |
String |
getLocation() |
String |
getMobilePhone() |
String |
getPictureUrl() |
String |
getProfileUrl() |
Integer |
getRelation() |
String |
getSite() |
String |
getSkype() |
String |
getStatus() |
String |
getUsername() |
Boolean |
isCanPost() |
Boolean |
isCanSeeAllPost() |
Boolean |
isCanSeeAudio() |
Boolean |
isCanWritePrivateMessage() |
Boolean |
isHasMobile() |
Boolean |
isOnline() |
Boolean |
isOnlineMobile() |
clear, getAccessToken, setAccessTokenaddAttribute, addAttributes, addPermission, addPermissions, addRole, addRoles, build, getAttribute, getAttribute, getAttributes, getId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, setId, setRemembered, toString, writeExternalprotected AttributesDefinition getAttributesDefinition()
getAttributesDefinition in class UserProfilepublic String getDisplayName()
getDisplayName in class CommonProfilepublic String getUsername()
getUsername in class CommonProfilepublic String getPictureUrl()
getPictureUrl in class CommonProfilepublic String getProfileUrl()
getProfileUrl in class CommonProfilepublic String getEmail()
getEmail in class CommonProfilepublic String getFamilyName()
getFamilyName in class CommonProfilepublic Gender getGender()
getGender in class CommonProfilepublic Locale getLocale()
getLocale in class CommonProfilepublic String getLocation()
getLocation in class CommonProfilepublic String getFirstName()
getFirstName in class CommonProfilepublic String getLastName()
public Date getBirthDate()
public String getFoto50()
public String getFoto100()
public String getFoto200Orig()
public String getFoto200()
public String getFoto400Orig()
public String getFotoMax()
public String getFotoMaxOrig()
public Boolean isOnline()
public Boolean isOnlineMobile()
public String getDomain()
public Boolean isHasMobile()
public String getMobilePhone()
public String getHomePhone()
public String getSkype()
public String getSite()
public Boolean isCanPost()
public Boolean isCanSeeAllPost()
public Boolean isCanSeeAudio()
public Boolean isCanWritePrivateMessage()
public String getStatus()
public Integer getCommonCount()
public Integer getRelation()
Copyright © 2016. All Rights Reserved.