Interface for paginating over SyncMap items retrieved using SyncMap#queryItems.
More...
Interface for paginating over SyncMap items retrieved using SyncMap#queryItems.
| ArrayList<SyncMap.Item> com.twilio.sync.SyncMapPaginator.getItems |
( |
| ) |
|
- Returns
- All SyncMap.Items of the current page. The order of items within the page is not guaranteed.
| long com.twilio.sync.SyncMapPaginator.getPageSize |
( |
| ) |
|
- Returns
- The current page size.
| boolean com.twilio.sync.SyncMapPaginator.hasNextPage |
( |
| ) |
|
- Returns
true if next page exists, false otherwise.
| boolean com.twilio.sync.SyncMapPaginator.hasPreviousPage |
( |
| ) |
|
- Returns
true if previous page exists, false otherwise.
| void com.twilio.sync.SyncMapPaginator.requestNextPage |
( |
Listener |
listener | ) |
|
Retrieve contents of a next page of the SyncMapPaginator.
The order of items within the page is not guaranteed.
- Parameters
-
| listener | Async result listener. See Listener. |
| void com.twilio.sync.SyncMapPaginator.requestPreviousPage |
( |
Listener |
listener | ) |
|
Retrieve contents of a previous page of the SyncMapPaginator.
The order of items within the page is not guaranteed.
- Parameters
-
| listener | Async result listener. See Listener. |