public class FriendsService extends Object
Modifier and Type | Method and Description |
---|---|
static FriendsService |
getInstance()
Get a singleton instance of FriendsService
|
void |
requestAppFriends(AppFriendContext context,
ApiResponseCallback<AppFriendsResponse> callback)
카카오톡 친구 중 아래의 조건을 만족하는 친구들의 리스트를 얻어온다.
|
void |
requestFriends(ApiResponseCallback<FriendsResponse> callback,
FriendContext context)
친구의 리스트를 얻어온다.
|
public static FriendsService getInstance()
public void requestAppFriends(AppFriendContext context, ApiResponseCallback<AppFriendsResponse> callback)
AppFriendInfo
and FriendInfo
, where the latter is only provided
to the Kakao partners with privilege.
This API will return ApiErrorCode.NOT_EXIST_KAKAOTALK_USER_CODE
if this Kakao account user does not use KakaoTalk.context
- Contextcallback
- Success/Failure callbackpublic void requestFriends(ApiResponseCallback<FriendsResponse> callback, FriendContext context)
context
- FriendContext
친구리스트 요청정보를 담고있는 context