Instance Method


Stops accepting new audio and finishes processing on the audio input that has already been accepted.


func finish()


For audio buffer–based recognition, recognition does not finish until this method is called, so be sure to call it when the audio source is exhausted.

See Also

Finishing a Speech Recognition Task

var isFinishing: Bool

A Boolean value that indicates whether audio input has stopped.

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