Diffusion Apple API  6.10.3
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
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

- (BOOL) isEmpty

Return YES if the result contains zero elements

Returns
YES if result list is empty
Since
6.5
- (NSUInteger) size

The number of elements in the fetch result

Returns
the size of the results list
Since
6.5

Property Documentation

- (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
- (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