Skip to content

ShazamKit watchOS xcode14.3 beta1

Alex Soto edited this page Feb 16, 2023 · 2 revisions

#ShazamKit.framework

diff -ruN /Applications/Xcode_14.2.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/ShazamKit.framework/Headers/SHMatch.h /Applications/Xcode_14.3.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/ShazamKit.framework/Headers/SHMatch.h
--- /Applications/Xcode_14.2.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/ShazamKit.framework/Headers/SHMatch.h	2022-10-06 13:23:10
+++ /Applications/Xcode_14.3.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/ShazamKit.framework/Headers/SHMatch.h	2023-02-12 00:14:49
@@ -14,7 +14,7 @@
 
 /// @brief A @c SHMatch indicates that a Signature matched a reference Signature in the target @c SHCatalog
 /// @discussion A @c SHSignature can match many reference Signatures in a catalog and in turn a Signature can map to
-/// many @c SHMediaItem. Therefore a match encapsulates the query signature and all of the various @c SHMediaItem it matched
+/// many @c SHMediaItem. Therefore a match encapsulates the query Signature and all of the various @c SHMediaItem it matched
 ///
 /// @note @c SHMatch is not intended to be subclassed
 SH_EXPORT NS_SWIFT_SENDABLE API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0))
@@ -22,12 +22,12 @@
 
 /// @brief The @c SHMatchedMediaItem belonging to the instance of @c SHSignature that we matched
 ///
-/// @discussion One signature may match multiple @c SHMediaItem, especially in the case of audio that uses samples. The @c SHMatchedMediaItem
-/// are ordered by  the quality of the match. Use the first @c SHMediaItem if you intend to only show one result
+/// @discussion One Signature may match multiple @c SHMediaItem, especially in the case of audio that uses samples. The array of @c SHMatchedMediaItem
+/// is ordered by the quality of the match. Use the first @c SHMatchedMediaItem if you intend to only show one result
 @property (NS_NONATOMIC_IOSONLY, strong, readonly) NSArray<SHMatchedMediaItem *> *mediaItems;
 
-/// The @c SHSignature used to search the @c SHCatalog
-/// @note This is Signature is the query Signature, not the reference signature contained in the @c SHCatalog
+/// The @c SHSignature used to query the @c SHCatalog
+/// @note This Signature is the query Signature, not the reference Signature contained in the @c SHCatalog
 @property (NS_NONATOMIC_IOSONLY, strong, readonly) SHSignature *querySignature;
 
 + (instancetype)new NS_UNAVAILABLE;
diff -ruN /Applications/Xcode_14.2.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/ShazamKit.framework/Headers/SHSession.h /Applications/Xcode_14.3.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/ShazamKit.framework/Headers/SHSession.h
--- /Applications/Xcode_14.2.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/ShazamKit.framework/Headers/SHSession.h	2022-10-06 13:21:24
+++ /Applications/Xcode_14.3.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/ShazamKit.framework/Headers/SHSession.h	2023-02-11 22:23:10
@@ -71,7 +71,7 @@
 /// effects on the ability to match the audio. The time variable is validated by the session to ensure that the audio is contiguous and mitigate the effect of discontiguous audio.
 /// @param buffer A buffer of audio to be used for recognition
 /// @param time Where in the stream the audio occurs
-/// @note This method will throw an exception if the audio format is not PCM in one of the following sample rates: 48000, 44100, 32000, 16000.
+/// @note This method only accepts PCM audio formats. The following sample rates are recommended but not required: 48000, 44100, 32000, 16000.
 - (void)matchStreamingBuffer:(AVAudioPCMBuffer *)buffer atTime:(nullable AVAudioTime *)time;
 
 /// Match the @c SHSignature against the provided @c SHCatalog
diff -ruN /Applications/Xcode_14.2.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/ShazamKit.framework/Headers/SHSignatureGenerator.h /Applications/Xcode_14.3.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/ShazamKit.framework/Headers/SHSignatureGenerator.h
--- /Applications/Xcode_14.2.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/ShazamKit.framework/Headers/SHSignatureGenerator.h	2022-10-06 13:23:10
+++ /Applications/Xcode_14.3.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/ShazamKit.framework/Headers/SHSignatureGenerator.h	2023-02-12 00:14:49
@@ -25,7 +25,7 @@
 /// @brief Add audio to the generator
 /// @discussion Audio passed to the generator should be contiguous, passing non contiguous data will affect the quality of the @c SHSignature
 /// produced. Passing the @c AVAudioTime is not required but recommended, it allows the generator to detect when the audio is not contiguous.
-/// This method will throw an exception if the audio format is not PCM in one of the following sample rates: 48000, 44100, 32000, 16000.
+/// This method only accepts PCM audio formats. The following sample rates are recommended but not required: 48000, 44100, 32000, 16000.
 /// @param time Where in the stream the audio represents
 /// @param buffer The audio data to be appended to the signature
 /// @param error An error if there was an issue appending the buffer
Clone this wiki locally