tree: 4954ddb552c60c055de60e06e7d9e931115f20aa [path history] [tgz]
  1. remote_cocoa/
  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. README.md
  7. remote_command_center_delegate.h
  8. remote_command_center_delegate.mm
  9. remote_command_center_delegate_cocoa.h
  10. remote_command_center_delegate_cocoa.mm
  11. system_media_controls_mac.h
  12. 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.