supportsOnDeviceRecognition
A Boolean value that indicates whether the speech recognizer can operate without network access.
Declaration
var supportsOnDeviceRecognition: Bool { get set }Discussion
An SFSpeechRecognitionRequest can only honor its requiresOnDeviceRecognition property if supportsOnDeviceRecognition is true. If supportsOnDeviceRecognition is false, the SFSpeechRecognizer requires a network in order to recognize speech.