Instance Method

finish()

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

Declaration

func finish()

Discussion

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.