A request to recognize speech from an audio source.


Getting Information About a Speech Recognition Request

var contextualStrings: [String]

An array of phrases that should be recognized, even if they are not in the system vocabulary.

var shouldReportPartialResults: Bool

A Boolean value that indicates whether partial, nonfinal results for each utterance are reported.

var taskHint: SFSpeechRecognitionTaskHint

A value that indicates the type of speech recognition being performed.

var interactionIdentifier: String?

A string that identifies the recognition request object associated with the request.


Inherits From

Conforms To

See Also

Requesting Recognition and Monitoring Progress

class SFSpeechAudioBufferRecognitionRequest

A request to recognize speech provided in audio buffers.

class SFSpeechURLRecognitionRequest

A request to recognize speech in a recorded audio file.

class SFSpeechRecognitionTask

A speech recognition task that lets you monitor recognition progress.