버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.

...

코드 블럭
languagejava
import com.kakaogame.KGTKakaoTalk;

// Display the KakaoTalk game message reception setting view
KGTKakaoTalk.showSetting(activity, result -> {
	if (result.isSuccess()) {
		// Successfully set KakaoTalk game message reception
		boolean allowMessage = result.getContent(); // Whether message reception is allowed
	} else if (result.getCode() == KGTResult.KGTResultCode.NOT_KAKAOTALK_USER) {
		// The logged-in user is not a KakaoTalk user. This occurs if the account is only registered with KakaoStory and not with KakaoTalk.
	} else {
		// Failed to set KakaoTalk game message reception
	}
});

Retrieve KakaoTalk Profile

...

발췌문 삽입
EN_Kakao Integration Feature SDK Example
EN_Kakao Integration Feature SDK Example
namekakao_talk_talk_profile
nopaneltrue

코드 블럭
languagejava
import com.kakaogame.KGTKakaoTalk;
import com.kakaogame.KGTKakaoTalkProfile;

// Retrieve KakaoTalk profile
KGTKakaoTalk.talkProfile(result -> {
	if (result.isSuccess()) {
		// Successfully retrieved KakaoTalk profile
		talkProfile = result.getContent(); // The KakaoTalk profile information of the logged-in user
	} else if (result.getCode() == KGTResult.KGTResultCode.NOT_KAKAOTALK_USER) {
		// The logged-in user is not a KakaoTalk user. This occurs if the account is only registered with KakaoStory and not with KakaoTalk.
	} else {
		// Failed to retrieve KakaoTalk profile
	}
});

...

Retrieve KakaoTalk Game Friend List

발췌문 삽입
EN_Kakao Integration Feature SDK Example
EN_Kakao Integration Feature SDK Example
namekakao_talk_friends
nopaneltrue

...