Skip to content

MediaPlayer macOS xcode9 beta2

Vincent Dondain edited this page Jun 21, 2017 · 3 revisions

#MediaPlayer.framework

diff -ruN /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPContentItem.h /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPContentItem.h
--- /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPContentItem.h	2017-05-20 22:34:11.000000000 -0400
+++ /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPContentItem.h	2017-06-12 21:36:40.000000000 -0400
@@ -45,10 +45,10 @@
 
 /// Represents whether this content item is streaming content, i.e. from the cloud
 /// where the content is not stored locally.
-@property (nonatomic, assign, getter = isStreamingContent) BOOL streamingContent NS_AVAILABLE_IOS(10_0);
+@property (nonatomic, assign, getter = isStreamingContent) BOOL streamingContent MP_API(ios(10.0), tvos(10.0), macos(10.12.2));
 
 /// Represents whether this content item is explicit content
-@property (nonatomic, assign, getter = isExplicitContent) BOOL explicitContent NS_AVAILABLE_IOS(10_0);
+@property (nonatomic, assign, getter = isExplicitContent) BOOL explicitContent MP_API(ios(10.0), tvos(10.0), macos(10.12.2));
 
 /// Represents whether the content item is a container that may contain other
 /// content items, e.g. an album or a playlist.
diff -ruN /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingInfoCenter.h /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingInfoCenter.h
--- /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingInfoCenter.h	2017-05-20 22:34:11.000000000 -0400
+++ /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingInfoCenter.h	2017-06-16 00:48:57.000000000 -0400
@@ -132,6 +132,12 @@
 // the now playing app.
 MP_EXTERN NSString *const MPNowPlayingInfoPropertyExternalUserProfileIdentifier NS_AVAILABLE(10_12_2, 10_0); // NSString
 
+// A unique string that identifies a service provider. If the now playing item
+// belongs to a channel or subscription service, this key can be used to
+// coordinate various types of now playing content from a particular service
+// provider.
+MP_EXTERN NSString *const MPNowPlayingInfoPropertyServiceIdentifier NS_AVAILABLE(10_13, 11_0); // NSString
+
 // Represents the current playback progress of the now playing item.
 // 0.0 = not watched/listened/viewed, 1.0 = fully watched/listened/viewed
 // This value is different that ElapsedPlaybackTime and does not need to be exact
Clone this wiki locally