Diffusion Apple API 6.11.6
Unified Client Library for iOS, tvOS and OS X / macOS
Loading...
Searching...
No Matches
Properties | Instance Methods | List of all members
PTDiffusionFetchResult Class Reference

Introduction

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

A fetch operation is issued using a PTDiffusionFetchRequest.

Since
6.2
Inheritance diagram for PTDiffusionFetchResult:
PTDiffusionBinaryFetchResult PTDiffusionJSONFetchResult PTDiffusionNumberFetchResult PTDiffusionRecordV2FetchResult PTDiffusionStringFetchResult PTDiffusionTimeSeriesFetchResult

Properties

NSArray< PTDiffusionFetchTopicResult * > * results
 
BOOL more
 

Instance Methods

(NSUInteger) - size
 
(BOOL) - isEmpty
 

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