One Logo Pool Ball
CreateMLComponents · IOS API REFERENCE

AudioReader.AsyncBuffers

struct · iOS 16.0+ · SDK 27.1

struct AsyncBuffers

An async sequence of audio buffers read from an audio file. This sequence allows iterating through the file only once.

Members (3)

method · iOS 16.0+

makeAsyncIterator

TypeScript
makeAsyncIterator(): AudioReader_AsyncBuffers_Iterator
Swift declaration
func makeAsyncIterator() -> AudioReader.AsyncBuffers.Iterator

Constructs an iterator.

get · iOS 16.0+

url

TypeScript
get url(): string
Swift declaration
let url: URL

The audio file URL, used when throwing an error.

get · iOS 16.0+

count

TypeScript
get count(): (number) | null
Swift declaration
let count: Int?

The number of audio buffers in the file.

Skipped declarations

No declarations were skipped in this snapshot.

All CreateMLComponents types →