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.

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