Instance Method


Appends audio in the PCM format to the end of the recognition request.


func append(_ audioPCMBuffer: AVAudioPCMBuffer)



An audio buffer that contains audio in the PCM format.


The audio must be in a native format and uncompressed.

See Also

Appending Audio Buffers

func appendAudioSampleBuffer(CMSampleBuffer)

Appends audio to the end of the recognition request.

func endAudio()

Marks the end of audio input for the recognition request.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software