Package im.getsocial.sdk.common
Class SimplePagingQuery
- java.lang.Object
-
- im.getsocial.sdk.common.PagingQuery<java.lang.Void>
-
- im.getsocial.sdk.common.SimplePagingQuery
-
public final class SimplePagingQuery extends PagingQuery<java.lang.Void>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SimplePagingQuery
next(java.lang.String nextCursor)
Set next cursor.static SimplePagingQuery
simple(int limit)
-
Methods inherited from class im.getsocial.sdk.common.PagingQuery
getLimit, getNext, getQuery, withLimit
-
-
-
-
Method Detail
-
simple
public static SimplePagingQuery simple(int limit)
-
next
public SimplePagingQuery next(java.lang.String nextCursor)
Description copied from class:PagingQuery
Set next cursor. You should save it from the previous response and pass to the new query.- Overrides:
next
in classPagingQuery<java.lang.Void>
- Parameters:
nextCursor
- Value from previousPagingResult
.- Returns:
- same instance.
-
-