TWSMapPaginator Class Reference

Inherits from NSObject
Declared in TWSMapPaginator.h

Overview

Paging interface to interact with map item query results.

– getItems

Obtain the list of items contained in this page of results.

- (nonnull NSArray<TWSMapItem*> *)getItems

Return Value

An array of TWSMapItem objects.

Discussion

Obtain the list of items contained in this page of results.

Declared In

TWSMapPaginator.h

– hasNextPage

Determine if there is a next page of results.

- (BOOL)hasNextPage

Return Value

BOOL indicating the presence of a next page of results.

Discussion

Determine if there is a next page of results.

Declared In

TWSMapPaginator.h

– hasPreviousPage

Determine if there is a previous page of results.

- (BOOL)hasPreviousPage

Return Value

BOOL indicating the presence of a previous page of results.

Discussion

Determine if there is a previous page of results.

Declared In

TWSMapPaginator.h

– requestNextPageWithCompletion:

Request the next page of results for this query, if one exists.

- (void)requestNextPageWithCompletion:(nonnull TWSMapPaginatorCompletion)completion

Parameters

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.

Declared In

TWSMapPaginator.h

– requestPreviousPageWithCompletion:

Request the previous page of results for this query, if one exists.

- (void)requestPreviousPageWithCompletion:(nonnull TWSMapPaginatorCompletion)completion

Parameters

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.

Declared In

TWSMapPaginator.h