One Logo Pool Ball
CreateMLComponents · IOS API REFERENCE

AudioReader.AsyncBuffers.Iterator

struct · iOS 16.0+ · SDK 27.1

struct Iterator

An async iterator of audio buffers.

Members (1)

method · iOS 16.0+

next

TypeScript
next(): Promise<(TemporalFeature<_AVFAudio_AVAudioPCMBuffer>) | null>
Swift declaration
mutating func next() async throws -> TemporalFeature<AVAudioPCMBuffer>?

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 CreateMLComponents types →