Skip to content

MediaPlayer macOS xcode14.0 beta5

Manuel de la Pena edited this page Aug 18, 2022 · 2 revisions

#MediaPlayer.framework https://github.com/xamarin/xamarin-macios/pull/15654

diff -ruN /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingSession.h /Applications/Xcode_14.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingSession.h
--- /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingSession.h	2022-07-22 10:06:26.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingSession.h	2022-08-05 13:41:34.000000000 -0400
@@ -27,7 +27,7 @@
 
 MP_INIT_UNAVAILABLE
 
-- (instancetype)initWithTimeRange:(CMTimeRange)timeRange;
+- (instancetype)initWithTimeRange:(CMTimeRange)timeRange NS_SWIFT_NAME(init(_:));
 
 @end
 
@@ -46,7 +46,7 @@
 
 /// When YES, now playing info will be automatically published, and nowPlayingInfoCenter must not be used.
 ///  Now playing info keys to be incorporated by automatic publishing can be set on the AVPlayerItem's nowPlayingInfo property.
-@property (nonatomic, assign) BOOL automaticallyPublishNowPlayingInfo MP_API(ios(16.0), tvos(16.0));
+@property (nonatomic, assign) BOOL automaticallyPublishesNowPlayingInfo MP_API(ios(16.0), tvos(16.0));
 
 /// The now playing info center that is associated with this session.
 @property (nonatomic, strong, readonly) MPNowPlayingInfoCenter *nowPlayingInfoCenter;
Clone this wiki locally