Skip to content

Speech iOS xcode13.0 beta1

Rachel Kang edited this page Jul 7, 2021 · 3 revisions

#Speech.framework https://github.com/xamarin/xamarin-macios/pull/12086

diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Speech.framework/Headers/SFSpeechRecognitionMetadata.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Speech.framework/Headers/SFSpeechRecognitionMetadata.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Speech.framework/Headers/SFSpeechRecognitionMetadata.h	2021-03-16 08:47:16.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Speech.framework/Headers/SFSpeechRecognitionMetadata.h	2021-06-02 12:46:51.000000000 -0400
@@ -10,7 +10,7 @@
 
 @class SFVoiceAnalytics;
 
-API_AVAILABLE(ios(14.0), macos(11.0))
+API_AVAILABLE(ios(14.5), macos(11.3))
 @interface SFSpeechRecognitionMetadata : NSObject <NSCopying, NSSecureCoding>
 
 // Measures the number of words spoken per minute
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Speech.framework/Headers/SFSpeechRecognitionRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Speech.framework/Headers/SFSpeechRecognitionRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Speech.framework/Headers/SFSpeechRecognitionRequest.h	2021-03-16 08:47:16.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Speech.framework/Headers/SFSpeechRecognitionRequest.h	2021-06-02 12:46:51.000000000 -0400
@@ -25,7 +25,7 @@
 @property (nonatomic, copy) NSArray<NSString *> *contextualStrings;
 
 // String which can be used to identify the receiver by the developer
-@property (nonatomic, copy, nullable) NSString *interactionIdentifier;
+@property (nonatomic, copy, nullable) NSString *interactionIdentifier NS_DEPRECATED(10_15, 12_0, 10_0, 15_0, "Not used anymore");
 
 // If true, speech recognition will not send any audio over the Internet
 // This will reduce accuracy but enables certain applications where it is
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Speech.framework/Headers/SFTranscription.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Speech.framework/Headers/SFTranscription.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Speech.framework/Headers/SFTranscription.h	2021-03-16 08:47:15.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Speech.framework/Headers/SFTranscription.h	2021-06-02 12:46:51.000000000 -0400
@@ -19,10 +19,10 @@
 @property (nonatomic, readonly, copy) NSArray<SFTranscriptionSegment *> *segments;
 
 // Measures the number of words spoken per minute
-@property (nonatomic, readonly) double speakingRate API_AVAILABLE(ios(13.0), macos(10.15)) __deprecated_msg("speakingRate is moved to SFSpeechRecognitionMetadata");
+@property (nonatomic, readonly) double speakingRate NS_DEPRECATED(10_15, 11_3, 13_0, 14_5, "speakingRate is moved to SFSpeechRecognitionMetadata");
 
 // Measures average pause between words (in seconds)
-@property (nonatomic, readonly) NSTimeInterval averagePauseDuration API_AVAILABLE(ios(13.0), macos(10.15)) __deprecated_msg("averagePauseDuration is moved to SFSpeechRecognitionMetadata");
+@property (nonatomic, readonly) NSTimeInterval averagePauseDuration NS_DEPRECATED(10_15, 11_3, 13_0, 14_5, "averagePauseDuration is moved to SFSpeechRecognitionMetadata");
 
 @end
 
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Speech.framework/Headers/SFTranscriptionSegment.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Speech.framework/Headers/SFTranscriptionSegment.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Speech.framework/Headers/SFTranscriptionSegment.h	2021-03-16 08:47:15.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Speech.framework/Headers/SFTranscriptionSegment.h	2021-06-02 12:46:51.000000000 -0400
@@ -26,7 +26,7 @@
 // Other possible interpretations of this segment
 @property (nonatomic, readonly) NSArray<NSString *> *alternativeSubstrings;
 
-@property (nonatomic, nullable, readonly) SFVoiceAnalytics *voiceAnalytics API_AVAILABLE(ios(13.0), macos(10.15)) __deprecated_msg("voiceAnalytics is moved to SFSpeechRecognitionMetadata");
+@property (nonatomic, nullable, readonly) SFVoiceAnalytics *voiceAnalytics NS_DEPRECATED(10_15, 11_3, 13_0, 14_5, "voiceAnalytics is moved to SFSpeechRecognitionMetadata");
 
 @end
 
Clone this wiki locally