public class MeV2Response
extends com.kakao.network.response.JSONObjectResponse
UserAccount has all the data related to user's Kakao account. Properties contain app-scope user data (including your custom ones). ForPartners have partner-specific data such as uuid and remaining invite counts.
Modifier and Type | Field and Description |
---|---|
static com.kakao.network.response.ResponseStringConverter<MeV2Response> |
CONVERTER |
static String |
KEY_NICKNAME
key for nickname in properties
|
static String |
KEY_PROFILE_IMAGE
key for profile_image in properties
|
static String |
KEY_THUMBNAIL_IMAGE
key for thumbnail_image in properties
|
Modifier and Type | Method and Description |
---|---|
org.json.JSONObject |
forPartners()
Return values normally used by Kakao partner services such as:
- uuid
- remaining_invite_count
- remaining_group_msg_count
|
String |
getConnectedAt()
해당 서비스에 연결 완료된 시각.
|
String |
getGroupUserToken()
해당앱이 그룹앱에 속한 경우 그룹에서 맵핑정보로 사용할수 있는 값.
|
long |
getId()
Returns app user id.
|
UserAccount |
getKakaoAccount()
Returns data of user's kakao account
|
Map<String,String> |
getProperties()
Returns app-scope user properties.
|
String |
getSynchedAt()
카카오싱크 간편가입창을 통해 카카오 로그인 한 시각.
|
OptionalBoolean |
hasSignedUp()
Tells whether user has signed up or not.
|
String |
toString() |
public static final com.kakao.network.response.ResponseStringConverter<MeV2Response> CONVERTER
public static final String KEY_NICKNAME
public static final String KEY_PROFILE_IMAGE
public static final String KEY_THUMBNAIL_IMAGE
@Nullable public org.json.JSONObject forPartners()
@Nullable public String getConnectedAt()
@Nullable public String getGroupUserToken()
public long getId()
This id is app scope (different between apps for same user) and is kept same even if user connects again after unlinking.
public UserAccount getKakaoAccount()
public Map<String,String> getProperties()
and other custom properties you defined in Kakao developer console.
@Nullable public String getSynchedAt()
@NonNull public OptionalBoolean hasSignedUp()
OptionalBoolean.TRUE
if user already signed up,
OptionalBoolean.FALSE
if user hasn't signed up yet,
OptionalBoolean.NONE
if app uses automatic sign up functionality.