Skip to content

MediaPlayer watchOS 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/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingSession.h /Applications/Xcode_14.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingSession.h
--- /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingSession.h	2022-07-22 09:59:52.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingSession.h	2022-08-05 13:47:42.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