Created
December 24, 2019 17:55
-
-
Save dnicolson/63776e62329090d9558ad0a3d98a84d8 to your computer and use it in GitHub Desktop.
MediaRemote.framework method signatures
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum { | |
kMRPlaybackStateUnknown = 0, | |
kMRPlaybackStatePlaying, | |
kMRPlaybackStatePaused, | |
kMRPlaybackStateStopped, | |
kMRPlaybackStateInterrupted | |
}; | |
typedef uint32_t MRPlaybackState; | |
typedef void (^MRMediaRemoteGetNowPlayingPlayerCompletion)(id playbackPlayer); | |
typedef void (^MRMediaRemoteGetNowPlayingApplicationPlaybackStateCompletion)(MRPlaybackState playbackState); | |
typedef void (^MRMediaRemoteGetNowPlayingApplicationPlaybackStateCompletion)(MRPlaybackState playbackState); | |
void MRMediaRemoteGetNowPlayingPlayer(dispatch_queue_t queue, MRMediaRemoteGetNowPlayingPlayerCompletion completion); | |
void MRMediaRemoteGetNowPlayingApplicationPlaybackState(dispatch_queue_t queue, MRMediaRemoteGetNowPlayingApplicationPlaybackStateCompletion completion); | |
void MRMediaRemoteGetNowPlayingApplicationPlaybackStateForOrigin(MROriginRef origin, dispatch_queue_t queue, MRMediaRemoteGetNowPlayingApplicationPlaybackStateCompletion completion); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment