ArcGIS Runtime SDK for iOS: AGSStatisticRecordEnumerator Class Reference
ArcGIS Runtime SDK for iOS  100.15
AGSStatisticRecordEnumerator Class Reference

Description

An enumerator to iterate over statistic results.

Instances of this class represent an enumerator to iterate over AGSStatisticRecord objects.

Since
100.2
Inheritance diagram for AGSStatisticRecordEnumerator:

Instance Methods

(BOOL) - hasNextObject
 
(nullable AGSStatisticRecord *) - nextObject
 
(void) - reset
 

Properties

NSArray< AGSStatisticRecord * > * allObjects
 

Method Documentation

◆ hasNextObject

- (BOOL) hasNextObject

returns YES if there is another statistic record available

Since
100.2

◆ nextObject

- (nullable AGSStatisticRecord*) nextObject

Returns the next statistic record.

Since
100.2

◆ reset

- (void) reset

puts the cursor back to the beginning

Since
100.2

Property Documentation

◆ allObjects

- (NSArray<AGSStatisticRecord*>*) allObjects
readnonatomiccopy

Provides all the statistic records that can be enumerated as an array of AGSStatisticRecord objects.

Since
100.2
Note
Accessing this property causes all the statistic records to be loaded into memory. To conserve memory, consider iterating over the statistic records one-by-one using a for-in loop, or using nextObject.