Instance Property

queue

The queue on which to execute recognition task handlers and delegate methods.

Declaration

var queue: OperationQueue { get set }

Discussion

The default value of this property is the app's main queue. Assign a different queue if you want delegate methods and handlers to be executed on a background queue.

The handler you pass to the requestAuthorization(_:) method does not use this queue.

See Also

Configuring the Speech Recognizer

var defaultTaskHint: SFSpeechRecognitionTaskHint

A hint that indicates the type of speech recognition being requested.