public class AppFriendContext
extends com.kakao.auth.common.PageableContext
PageableContext.getAfterUrl()
method.
FriendsApi
will automatically fill in after url for this context so
that subsequent API requests can be made with this url field, overriding all other parameters
such as offset, limit and order.FriendsApi
Constructor and Description |
---|
AppFriendContext(boolean secureResource,
int offset,
int limit,
String order)
친구의 리스트를 얻어오는데 필요한 데이터 셋을 생성한다.
|
Modifier and Type | Method and Description |
---|---|
int |
getLimit()
한 페이지에 가져올 친구의 수, default 100, max 2000
|
int |
getOffset()
가져올 친구 리스트의 시작 offset.
|
String |
getOrder()
친구리스트 정렬방법.
|
boolean |
isSecureResource() |
public AppFriendContext(boolean secureResource, int offset, int limit, String order)
secureResource
- 이미지 url을 secure url로 받을 것인지 여부(http/https)offset
- 가져올 친구 리스트의 시작 offset. default 0limit
- 한 페이지에 가져올 친구의 수, default 100, max 2000order
- 친구리스트 정렬방법. asc, desc 중 하나의 오더로 정렬public int getLimit()
getLimit
in class com.kakao.auth.common.PageableContext
public int getOffset()
getOffset
in class com.kakao.auth.common.PageableContext
public String getOrder()
getOrder
in class com.kakao.auth.common.PageableContext
public boolean isSecureResource()