Speech Changes for Swift Speech (Added) Added SFSpeechAudioBufferRecognitionRequest Added SFSpeechAudioBufferRecognitionRequest.append(_: AVAudioPCMBuffer) Added SFSpeechAudioBufferRecognitionRequest.appendAudioSampleBuffer(_: CMSampleBuffer) Added SFSpeechAudioBufferRecognitionRequest.endAudio() Added SFSpeechAudioBufferRecognitionRequest.nativeAudioFormat Added SFSpeechRecognitionRequest Added SFSpeechRecognitionRequest.contextualStrings Added SFSpeechRecognitionRequest.interactionIdentifier Added SFSpeechRecognitionRequest.shouldReportPartialResults Added SFSpeechRecognitionRequest.taskHint Added SFSpeechRecognitionResult Added SFSpeechRecognitionResult.bestTranscription Added SFSpeechRecognitionResult.isFinal Added SFSpeechRecognitionResult.transcriptions Added SFSpeechRecognitionTask Added SFSpeechRecognitionTask.cancel() Added SFSpeechRecognitionTask.error Added SFSpeechRecognitionTask.finish() Added SFSpeechRecognitionTask.isCancelled Added SFSpeechRecognitionTask.isFinishing Added SFSpeechRecognitionTask.state Added SFSpeechRecognitionTaskDelegate Added SFSpeechRecognitionTaskDelegate.speechRecognitionDidDetectSpeech(_: SFSpeechRecognitionTask) Added SFSpeechRecognitionTaskDelegate.speechRecognitionTask(_: SFSpeechRecognitionTask, didFinishRecognition: SFSpeechRecognitionResult) Added SFSpeechRecognitionTaskDelegate.speechRecognitionTask(_: SFSpeechRecognitionTask, didFinishSuccessfully: Bool) Added SFSpeechRecognitionTaskDelegate.speechRecognitionTask(_: SFSpeechRecognitionTask, didHypothesizeTranscription: SFTranscription) Added SFSpeechRecognitionTaskDelegate.speechRecognitionTaskFinishedReadingAudio(_: SFSpeechRecognitionTask) Added SFSpeechRecognitionTaskDelegate.speechRecognitionTaskWasCancelled(_: SFSpeechRecognitionTask) Added SFSpeechRecognitionTaskHint [enum] Added SFSpeechRecognitionTaskHint.confirmation Added SFSpeechRecognitionTaskHint.dictation Added SFSpeechRecognitionTaskHint.search Added SFSpeechRecognitionTaskHint.unspecified Added SFSpeechRecognitionTaskState [enum] Added SFSpeechRecognitionTaskState.canceling Added SFSpeechRecognitionTaskState.completed Added SFSpeechRecognitionTaskState.finishing Added SFSpeechRecognitionTaskState.running Added SFSpeechRecognitionTaskState.starting Added SFSpeechRecognizer Added SFSpeechRecognizer.authorizationStatus() -> SFSpeechRecognizerAuthorizationStatus [class] Added SFSpeechRecognizer.defaultTaskHint Added SFSpeechRecognizer.delegate Added SFSpeechRecognizer.init() Added SFSpeechRecognizer.init(locale: Locale) Added SFSpeechRecognizer.isAvailable Added SFSpeechRecognizer.locale Added SFSpeechRecognizer.queue Added SFSpeechRecognizer.recognitionTask(with: SFSpeechRecognitionRequest, delegate: SFSpeechRecognitionTaskDelegate) -> SFSpeechRecognitionTask Added SFSpeechRecognizer.recognitionTask(with: SFSpeechRecognitionRequest, resultHandler: (SFSpeechRecognitionResult?, Error?) -> Swift.Void) -> SFSpeechRecognitionTask Added SFSpeechRecognizer.requestAuthorization(_: (SFSpeechRecognizerAuthorizationStatus) -> Swift.Void) [class] Added SFSpeechRecognizer.supportedLocales() -> Set<Locale> [class] Added SFSpeechRecognizerAuthorizationStatus [enum] Added SFSpeechRecognizerAuthorizationStatus.authorized Added SFSpeechRecognizerAuthorizationStatus.denied Added SFSpeechRecognizerAuthorizationStatus.notDetermined Added SFSpeechRecognizerAuthorizationStatus.restricted Added SFSpeechRecognizerDelegate Added SFSpeechRecognizerDelegate.speechRecognizer(_: SFSpeechRecognizer, availabilityDidChange: Bool) Added SFSpeechURLRecognitionRequest Added SFSpeechURLRecognitionRequest.init(url: URL) Added SFSpeechURLRecognitionRequest.url Added SFTranscription Added SFTranscription.formattedString Added SFTranscription.segments Added SFTranscriptionSegment Added SFTranscriptionSegment.alternativeSubstrings Added SFTranscriptionSegment.confidence Added SFTranscriptionSegment.duration Added SFTranscriptionSegment.substring Added SFTranscriptionSegment.substringRange Added SFTranscriptionSegment.timestamp Sending feedback… We’re sorry, an error has occurred. Please try submitting your feedback later. Thank you for providing feedback! Your input helps improve our developer documentation. How helpful is this document? * Very helpful Somewhat helpful Not helpful How can we improve this document? Fix typos or links Fix incorrect information Add or update code samples Add or update illustrations Add information about... * * Required information To submit a product bug or enhancement request, please visit the Bug Reporter page. Please read Apple's Unsolicited Idea Submission Policy before you send us your feedback.