Skip to content

MediaPlayer macOS xcode15.3 b1

Alex Soto edited this page Jan 27, 2024 · 1 revision

#MediaPlayer.framework

diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPRemoteControlTypes.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPRemoteControlTypes.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPRemoteControlTypes.h	2023-11-12 04:44:50
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPRemoteControlTypes.h	2024-01-19 03:54:48
@@ -25,3 +25,11 @@
     MPChangeLanguageOptionSettingNowPlayingItemOnly, /// The Language Option change applies only the the now playing item
     MPChangeLanguageOptionSettingPermanent /// The Language Option change should apply to all future playback
 } MP_API(ios(9.3), macos(10.12.2), watchos(5.0));
+
+
+typedef NS_ENUM(NSInteger, MPSleepTimerStopMode) {
+    MPSleepTimerStopModeOff = 0, /// No sleep timer set (default)
+    MPSleepTimerStopModeTime, /// Playback stops after a fixed amount of time in seconds
+    MPSleepTimerStopModeChapterEnd, /// Playback stops when the current chapter ends
+    MPSleepTimerStopModeItemEnd /// Playback stops when the current item ends
+} MP_API(ios(17.4), macos(10.14.4), watchos(10.4));
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MediaPlayerDefines.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MediaPlayerDefines.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MediaPlayerDefines.h	2023-11-12 04:44:50
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MediaPlayerDefines.h	2024-01-19 03:54:48
@@ -2,7 +2,7 @@
 //  MediaPlayerDefines.h
 //  MediaPlayer
 //
-//  Copyright © 2023 Apple Inc. All rights reserved.
+//  Copyright © 2024 Apple Inc. All rights reserved.
 //
 
 #ifndef MP_DEFINES
Clone this wiki locally