-
Notifications
You must be signed in to change notification settings - Fork 9
[한] 게임 아이디 연동
ch.yang edited this page Aug 4, 2016
·
4 revisions
사용자의 게임 아이디와 카페 아이디를 연동해 관리할 수 있다. 연동된 게임 아이디와 카페 아이디 목록은 카페 관리 메뉴에서 확인할 수 있다.
게임 아이디를 카페 아이디와 연동하려면 syncGameUserId() 메서드를 사용한다.
public static void syncGameUserId(Activity activity, String gameUserId);
다음은 게임 아이디와 카페 아이디를 연동하는 예다.
/**
* 게임 아이디와 카페 아이디를 연동한다.
*/
Glink.syncGameUserId(activity, "8263821")
setGameUserId() 메서드
setGameUserId() 메서드는 네이버 카페 SDK 1.7.0부터 삭제됐다.
public static void setGameUserId(Activity activity, String gameUserId, String fieldName);