Diffusion Apple API 6.12.0
Unified Client Library for iOS, tvOS and OS X / macOS
Loading...
Searching...
No Matches
PTDiffusionFetchResult Class Reference

Base class for results from fetch operations issued to the server. More...

#include <PTDiffusionFetchResult.h>

Inheritance diagram for PTDiffusionFetchResult:
PTDiffusionBinaryFetchResult PTDiffusionJSONFetchResult PTDiffusionNumberFetchResult PTDiffusionRecordV2FetchResult PTDiffusionStringFetchResult PTDiffusionTimeSeriesFetchResult

Instance Methods

(NSUInteger) - size
(BOOL) - isEmpty

Properties

NSArray< PTDiffusionFetchTopicResult * > * results
BOOL more

Detailed Description

Base class for results from fetch operations issued to the server.

A fetch operation is issued using a PTDiffusionFetchRequest.

Since
6.2

Method Documentation

◆ isEmpty

- (BOOL) isEmpty

Return YES if the result contains zero elements

Returns
YES if result list is empty
Since
6.5

◆ size

- (NSUInteger) size

The number of elements in the fetch result

Returns
the size of the results list
Since
6.5

Property Documentation

◆ more

- (BOOL) more
readnonatomicassign

Indicates whether the fetch could have returned more results if it had not been constrained by the first: (PTDiffusionFetchRequest) , last: (PTDiffusionFetchRequest) or maximumResultSize: (PTDiffusionFetchRequest) limits.

YES if more results could have been returned, otherwise NO.

Since
6.2

◆ results

- (NSArray<PTDiffusionFetchTopicResult *>*) results
readnonatomicassign

The results from the fetch operation, in path order, each representing a single topic selected by the fetch operation.

Since
6.2