Skip to content

MediaPlayer macOS xcode9 beta5

Vincent Dondain edited this page Aug 7, 2017 · 3 revisions

#MediaPlayer.framework

diff -ruN /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPRemoteCommand.h /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPRemoteCommand.h
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPRemoteCommand.h	2017-07-19 00:54:11.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPRemoteCommand.h	2017-08-02 01:02:05.000000000 -0400
@@ -27,6 +27,11 @@
     /// command is received, but nothing is currently playing.
     MPRemoteCommandHandlerStatusNoActionableNowPlayingItem MP_API(ios(9.1), macos(10.12.2)) = 110,
     
+    /// The command could not be executed because a device required
+    /// is not available. For instance, if headphones are required, or if a watch
+    /// app realizes that it needs the companion to fulfull a request.
+    MPRemoteCommandHandlerStatusDeviceNotFound MP_API(ios(11.0), macos(10.13)) = 120,
+    
     /// The command could not be executed for another reason.
     MPRemoteCommandHandlerStatusCommandFailed = 200
 } MP_API(ios(7.1), macos(10.12.2));
Clone this wiki locally