-
Notifications
You must be signed in to change notification settings - Fork 520
MediaPlayer macOS xcode16.0 b1
Rolf Bjarne Kvinge edited this page Aug 19, 2024
·
3 revisions
#MediaPlayer.framework https://github.com/xamarin/xamarin-macios/pull/21072
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaItem.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaItem.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaItem.h 2024-04-19 08:32:06
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaItem.h 2024-05-30 04:31:10
@@ -202,6 +202,11 @@
MP_API(ios(14.5), tvos(14.5), watchos(7.3), macos(11.3));
@property (nonatomic, readonly, getter=isPreorder) BOOL preorder MP_API(ios(10.3));
+// Store Canonical IDs for TVShows and Movies
+MP_EXTERN NSString * const MPMediaItemPropertyStoreCanonicalId
+ MP_API(ios(18.0), tvos(18.0), watchos(11.0), macos(15.0));
+@property (nonatomic, readonly) NSString *storeCanonicalID MP_API(ios(18.0));
+
@end
//-----------------------------------------------------
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingInfoCenter.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingInfoCenter.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingInfoCenter.h 2024-04-08 17:08:07
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingInfoCenter.h 2024-05-30 04:17:58
@@ -171,4 +171,11 @@
// A replacement for MPNowPlayingInfoPropertyPlaybackProgress.
MP_EXTERN NSString * const MPNowPlayingInfoPropertyCreditsStartTime MP_API(ios(16.0), tvos(16.0), macos(13.0)); // NSNumber (double)
+// Represents the International Standard Recording Code (ISRC) for a song, if available.
+// This will be used by system services that leverage now playing data, such as Music Haptics.
+MP_EXTERN NSString * const MPNowPlayingInfoPropertyInternationalStandardRecordingCode MP_API(ios(18.0), tvos(18.0), macos(15.0)); // NSString
+
+// A boolean denoting whether the now playing item should be excluded from content suggestions.
+MP_EXTERN NSString * const MPNowPlayingInfoPropertyExcludeFromSuggestions MP_API(ios(18.0), tvos(18.0), macos(15.0)); // NSNumber (BOOL)
+
NS_ASSUME_NONNULL_END