Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ShazamKit macOS xcode16.0 b1

Rolf Bjarne Kvinge edited this pageAug 15, 2024 ·3 revisions

#ShazamKit.frameworkhttps://github.com/xamarin/xamarin-macios/pull/21051

diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ShazamKit.framework/Headers/SHCustomCatalog.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ShazamKit.framework/Headers/SHCustomCatalog.h--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ShazamKit.framework/Headers/SHCustomCatalog.h2024-04-13 21:37:15+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ShazamKit.framework/Headers/SHCustomCatalog.h2024-05-30 04:32:29@@ -20,6 +20,9 @@ SH_EXPORT API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) @interface SHCustomCatalog : SHCatalog+/// The data representation of this file, it can be written to disk+@property (NS_NONATOMIC_IOSONLY, strong, readonly) NSData *dataRepresentation API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), watchos(11.0), visionos(2.0));+ /// Add a reference @c SHSignature and its associated @c SHMediaItem for matching /// @param signature The reference to match against /// @param mediaItems The metadata associated with the @c SHSignature@@ -39,10 +42,15 @@ /// @param destinationURL The location to write to /// @param error populated on error, otherwise nil /// @return YES on success, NO on failure with a populated error parameter-- (BOOL)writeToURL:(NSURL *)destinationURL error:(NSError **)error;+- (BOOL)writeToURL:(NSURL *)destinationURL error:(NSError **)error API_DEPRECATED("Use dataRepresentation", macos(12.0, 15.0), ios(15.0, 18.0), tvos(15.0, 18.0), watchos(8.0, 11.0));  + (instancetype)new API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) NS_SWIFT_UNAVAILABLE("Use init in Swift"); - (instancetype)init API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0));++/// Load a @c SHCustomCatalog from data+/// @param dataRepresentation The data representation of the @c SHCustomCatalog+/// @param error Error populated if not a valid data representation+- (nullable instancetype)initWithDataRepresentation:(NSData *)dataRepresentation error:(NSError **)error API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), watchos(11.0), visionos(2.0));  @enddiff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ShazamKit.framework/Headers/SHMediaLibrary.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ShazamKit.framework/Headers/SHMediaLibrary.h--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ShazamKit.framework/Headers/SHMediaLibrary.h2024-04-13 21:37:15+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ShazamKit.framework/Headers/SHMediaLibrary.h2024-05-30 04:32:29@@ -13,7 +13,7 @@  /// @brief @c SHMediaLibrary represents the user's synced Shazam library. /// @discussion You can add new @c SHMediaItem instances to the user's library.-SH_EXPORT API_DEPRECATED("Use SHLibrary instead", macos(12.0, API_TO_BE_DEPRECATED), ios(15.0, API_TO_BE_DEPRECATED), tvos(15.0, API_TO_BE_DEPRECATED), watchos(8.0, API_TO_BE_DEPRECATED))+SH_EXPORT API_DEPRECATED("Use SHLibrary instead", macos(12.0, 15.0), ios(15.0, 18.0), tvos(15.0, 18.0), watchos(8.0, 11.0)) @interface SHMediaLibrary : NSObject  /// @brief Returns an instance of the default Shazam library.

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp