public interface SyncMapPaginator
SyncMap.queryItems(com.twilio.sync.SyncMap.QueryOptions, com.twilio.sync.SuccessListener<com.twilio.sync.SyncMapPaginator>).| Modifier and Type | Interface and Description |
|---|---|
static interface |
SyncMapPaginator.Listener
Interface for receiving async result from
requestNextPage(com.twilio.sync.SyncMapPaginator.Listener) and requestPreviousPage(com.twilio.sync.SyncMapPaginator.Listener). |
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<SyncMap.Item> |
getItems() |
long |
getPageSize() |
boolean |
hasNextPage() |
boolean |
hasPreviousPage() |
void |
requestNextPage(SyncMapPaginator.Listener listener)
Retrieve contents of a next page of the
SyncMapPaginator. |
void |
requestPreviousPage(SyncMapPaginator.Listener listener)
Retrieve contents of a previous page of the
SyncMapPaginator. |
java.util.ArrayList<SyncMap.Item> getItems()
SyncMap.Items of the current page. The order of items within the page is not guaranteed.long getPageSize()
boolean hasNextPage()
boolean hasPreviousPage()
void requestNextPage(SyncMapPaginator.Listener listener)
SyncMapPaginator. The order of items within the page is not guaranteed.listener - Async result listener. See SyncMapPaginator.Listener.void requestPreviousPage(SyncMapPaginator.Listener listener)
SyncMapPaginator. The order of items within the page is not guaranteed.listener - Async result listener. See SyncMapPaginator.Listener.