Instance Method


Appends audio to the end of the recognition request.


func appendAudioSampleBuffer(_ sampleBuffer: CMSampleBuffer)



A buffer of audio.


The audio must be in a native format.

See Also

Appending Audio Buffers

func append(AVAudioPCMBuffer)

Appends audio in the PCM format 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