TWSListPaginator Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | TWSListPaginator.h |
hasNextPage
Determine if there is a next page of results.
@property (readonly) BOOL hasNextPageDiscussion
Determine if there is a next page of results.
Declared In
TWSListPaginator.h
hasPreviousPage
Determine if there is a previous page of results.
@property (readonly) BOOL hasPreviousPageDiscussion
Determine if there is a previous page of results.
Declared In
TWSListPaginator.h
– getItems
Obtain the list of items contained in this page of results. The order of items within the page is not guaranteed.
- (nonnull NSArray<TWSListItem*> *)getItemsReturn Value
An array of TWSListItem objects.
Discussion
Obtain the list of items contained in this page of results. The order of items within the page is not guaranteed.
Declared In
TWSListPaginator.h
– requestNextPageWithCompletion:
Request the next page of results for this query, if one exists. The order of items within the page is not guaranteed.
- (void)requestNextPageWithCompletion:(nonnull TWSListPaginatorCompletion)completionParameters
completion |
Completion block that will specify the result of the operation and a paginator for the new page of results. |
|---|
Discussion
Request the next page of results for this query, if one exists. The order of items within the page is not guaranteed.
Declared In
TWSListPaginator.h
– requestPreviousPageWithCompletion:
Request the previous page of results for this query, if one exists. The order of items within the page is not guaranteed.
- (void)requestPreviousPageWithCompletion:(nonnull TWSListPaginatorCompletion)completionParameters
completion |
Completion block that will specify the result of the operation and a paginator for the new page of results. |
|---|
Discussion
Request the previous page of results for this query, if one exists. The order of items within the page is not guaranteed.
Declared In
TWSListPaginator.h