Contents

blocksOtherRecognizers

A Boolean value that indicates whether the speech recognizer object should block all other recognizers (that is, other applications attempting to understand spoken commands) when listening.

Declaration

var blocksOtherRecognizers: Bool { get set }

Discussion

When the value of this property is true, all other speech recognition commands on the system are disabled until the speech recognizer is released, listening is stopped, or the property is set to false. Setting this property to true effectively takes over the computer at the expense of other applications using speech recognition, so you should use it only in circumstances that warrant it, such as when listening for a response important to overall system operation or when an application is running in full-screen mode (such as games and presentation software). The default is value of this property is false.

See Also

Configuring Speech Recognizers