tree: 6451169fc9cf457856a8302f645560ad6ce3eaae [path history] [tgz]
  1. README.md
  2. now_playing_info_center_delegate.h
  3. now_playing_info_center_delegate.mm
  4. now_playing_info_center_delegate_cocoa.h
  5. now_playing_info_center_delegate_cocoa.mm
  6. remote_command_center_delegate.h
  7. remote_command_center_delegate.mm
  8. remote_command_center_delegate_cocoa.h
  9. remote_command_center_delegate_cocoa.mm
  10. system_media_controls_mac.h
  11. system_media_controls_mac.mm
components/system_media_controls/mac/README.md

This component is used to interface with Mac OS's MPNowPlayingInfoCenter and related MediaPlayer API: https://developer.apple.com/documentation/mediaplayer/mpnowplayinginfocenter

This includes an interface for MPRemoteCommandCenter, which can be used to receive media-related user input (e.g. media keys and actions that are available through the MPNowPlayingInfoCenter such as repeat and rating). https://developer.apple.com/documentation/mediaplayer/mpremotecommandcenter

Note that these APIs are only available on Mac OS 10.12.2 or later.