In particular I'm looking for the method signature of the MRMediaRemoteSendCommandToApp
method. There is a small amount of information here but I wasn't able to make much use of it.
There are definitions available for MRMediaRemoteSendCommand
, which can look like:
typedef enum {
kMRPlay = 0,
kMRPause = 1,
kMRTogglePlayPause = 2,
kMRStop = 3,
kMRNextTrack = 4,
kMRPreviousTrack = 5,
kMRToggleShuffle = 6,
kMRToggleRepeat = 7,
kMRStartForwardSeek = 8,
kMREndForwardSeek = 9,
kMRStartBackwardSeek = 10,
kMREndBackwardSeek = 11,
kMRGoBackFifteenSeconds = 12,
kMRSkipFifteenSeconds = 13,
kMRLikeTrack = 0x6A,
kMRBanTrack = 0x6B,
kMRAddTrackToWishList = 0x6C,
kMRRemoveTrackFromWishList = 0x6D
} MRCommand;
Boolean MRMediaRemoteSendCommand(MRCommand command, id userInfo);
As suggested in the Getting signatures of private API methods for iOS question, I tried class-dump
but couldn't find either methods. Hopper Disassembler v4
showed the correct symbols but I couldn't figure out how to get the method signature for either methods.