tree: bebecd40e90e352335ecfae0b9ae8d6d65e8b62f [path history] [tgz]
  1. now_playing_info_center_delegate.h
  2. now_playing_info_center_delegate.mm
  3. now_playing_info_center_delegate_cocoa.h
  4. now_playing_info_center_delegate_cocoa.mm
  5. README.md
  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.