Instance Method

endAudio()

Marks the end of audio input for the recognition request.

Declaration

func endAudio()

Discussion

Call this method explicitly to let the speech recognizer know that no more audio input is coming.

See Also

Appending Audio Buffers

func append(AVAudioPCMBuffer)

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

func appendAudioSampleBuffer(CMSampleBuffer)

Appends audio to the end of 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