If you think the Android project kakao-android-sdk-standalone listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code
/**
* Copyright 2014 Minyoung Jeong <kkungkkung@gmail.com>
* Copyright 2014 Kakao Corp.//www.java2s.com
*
* Redistribution and modification in source or binary forms are not permitted without specific prior written permission.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/package com.kakao;
import android.graphics.Bitmap;
/**
* ???? ??? ????? ?? ????
* ??????? ??? ??(nickName), ??????? ??? ????? URL(profileImageURL), ??????? ??? ???????? ??????? URL(thumbnailURL), ??????? ????(countryISO)? ?????? ??.
* @author MJ
*/publicclass KakaoTalkProfile {
private String nickName;
private String profileImageURL;
private String thumbnailURL;
private String countryISO;
private Bitmap bgImageBitmap;
// for jackson
public KakaoTalkProfile(final String nickName, final String profileImageURL, final String thumbnailURL, final String countryISO) {
this.nickName = nickName;
this.profileImageURL = profileImageURL;
this.thumbnailURL = thumbnailURL;
this.countryISO = countryISO;
}
/**
* ???? ??
* @return ???? ??
*/public String getNickName() {
return nickName;
}
/**
* 640px * 640px ??????? ???? ??? ????? URL
* @return ???? ??? ????? URL
*/public String getProfileImageURL() {
return profileImageURL;
}
/**
* 110px * 110px ??????? ???? ??????? ??? ????? URL
* @return ???? ??????? ??? ????? URL
*/public String getThumbnailURL() {
return thumbnailURL;
}
/**
* ???? ??
* @return ???? ??
*/public String getCountryISO() {
return countryISO;
}
/**
* ?? ??? string?? ???? ????.
* @return ?? ??? ????? string
*/
@Override
public String toString() {
final StringBuilder sb = new StringBuilder("KakaoTalkProfile{");
sb.append("nickName='").append(nickName).append('\'');
sb.append(", profileImageURL='").append(profileImageURL).append('\'');
sb.append(", thumbnailURL='").append(thumbnailURL).append('\'');
sb.append(", countryISO='").append(countryISO).append('\'');
sb.append('}');
return sb.toString();
}
}