TCHChannelPaginator Class Reference

Inherits from NSObject
Declared in TCHChannelPaginator.h

Overview

The results paginator for user channel list requests.

– items

The items returned by the requested operation, if any.

- (nonnull NSArray<TCHChannel*> *)items

Return Value

The items returned by the requested operation, if any.

Discussion

The items returned by the requested operation, if any.

Declared In

TCHChannelPaginator.h

– hasNextPage

Determine if additional pages are available for the requested operation.

- (BOOL)hasNextPage

Return Value

BOOL indicating the presence of a subsequent page of results.

Discussion

Determine if additional pages are available for the requested operation.

Declared In

TCHChannelPaginator.h

– requestNextPageWithCompletion:

Request the next page of results for the current operation.

- (void)requestNextPageWithCompletion:(nonnull TCHChannelPaginatorCompletion)completion

Parameters

completion

The paginator completion block. If no completion block is specified, no operation will be executed.

Discussion

Request the next page of results for the current operation.

Declared In

TCHChannelPaginator.h