One Logo Pool Ball
HealthKit · IOS API REFERENCE

HKStatisticsCollectionQueryDescriptor.Results.Iterator

struct · iOS 15.4+ · SDK 27.1

struct Iterator

Members (1)

method · iOS 15.4+

next

TypeScript
next(): Promise<(HKStatisticsCollectionQueryDescriptor_Result) | null>
Swift declaration
mutating func next() async throws -> HKStatisticsCollectionQueryDescriptor.Results.Element?

Asynchronously advances to the next element and returns it, or ends the sequence if there is no next element. - Returns: The next element, if it exists, or `nil` to signal the end of the sequence.

Skipped declarations

No declarations were skipped in this snapshot.

All HealthKit types →